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": {
"lastModified": 1714981474,
"narHash": "sha256-b3/U21CJjCjJKmA9WqUbZGZgCvospO3ArOUTgJugkOY=",
"lastModified": 1715077503,
"narHash": "sha256-AfHQshzLQfUqk/efMtdebHaQHqVntCMjhymQzVFLes0=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "6ebe7be2e67be7b9b54d61ce5704f6fb466c536f",
"rev": "6e277d9566de9976f47228dd8c580b97488734d4",
"type": "github"
},
"original": {

View File

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

View File

@ -20,7 +20,7 @@
shellAliases = {
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-conf = "nvim $HOME/nixos/hosts/workmachine/configuration.nix";
};