refactor(nixos): move configuration files to their own directories for cleaner file structure

This commit is contained in:
Mohammad Rafiq 2025-02-24 05:10:38 +08:00
parent 22a4b3b720
commit 938f4e788f
4 changed files with 3 additions and 3 deletions

View file

@ -16,12 +16,12 @@
nixosConfigurations.nemesis = nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs; };
modules = [
./configuration.nix
./hosts/nemesis
home-manager.nixosModules.home-manager {
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.rafiq = import ./home.nix;
home-manager.users.rafiq = import ./users/rafiq;
}
];
};

View file

@ -10,7 +10,7 @@
# };
home.file."bin" = {
source = ./scripts;
source = ../../scripts;
recursive = true;
executable = true;
};