This commit is contained in:
sam 2024-05-08 02:17:44 +01:00
parent 48e18fb4da
commit b47cbb2d84
7 changed files with 6 additions and 10 deletions

View File

@ -7,11 +7,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1714981474, "lastModified": 1715077503,
"narHash": "sha256-b3/U21CJjCjJKmA9WqUbZGZgCvospO3ArOUTgJugkOY=", "narHash": "sha256-AfHQshzLQfUqk/efMtdebHaQHqVntCMjhymQzVFLes0=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "6ebe7be2e67be7b9b54d61ce5704f6fb466c536f", "rev": "6e277d9566de9976f47228dd8c580b97488734d4",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@ -16,14 +16,10 @@
specialArgs = {inherit inputs;}; specialArgs = {inherit inputs;};
modules = [ modules = [
./hosts/default/configuration.nix ./hosts/default/configuration.nix
]; ./nixos_modules
};
workmachine = nixpkgs.lib.nixosSystem {
specialArgs = {inherit inputs;};
modules = [
./hosts/workmachine/configuration.nix
]; ];
}; };
}; };
homeManagerModules.default = ./homeManager_modules;
}; };
} }

View File

@ -20,7 +20,7 @@
shellAliases = { shellAliases = {
ll = "ls -l"; ll = "ls -l";
update = "sudo nixos-rebuild switch --flake $(readlink -f /etc/nixos)#workmachine"; update = "sudo nixos-rebuild switch --flake $(readlink -f /etc/nixos)#default";
nix-home = "nvim $HOME/nixos/hosts/workmachine/home.nix"; nix-home = "nvim $HOME/nixos/hosts/workmachine/home.nix";
nix-conf = "nvim $HOME/nixos/hosts/workmachine/configuration.nix"; nix-conf = "nvim $HOME/nixos/hosts/workmachine/configuration.nix";
}; };