feat: added coder workspace home config

main
Ricard Illa 2023-08-16 17:49:36 +02:00
parent 7dfb905377
commit e9c3b32d75
Signed by: rilla
GPG Key ID: 525307BD467E4205
3 changed files with 9 additions and 1 deletions

View File

@ -68,7 +68,7 @@
"ricard@coder-workspace" = home-manager.lib.homeManagerConfiguration { "ricard@coder-workspace" = home-manager.lib.homeManagerConfiguration {
pkgs = nixpkgs.legacyPackages.x86_64-linux; pkgs = nixpkgs.legacyPackages.x86_64-linux;
extraSpecialArgs = { inherit inputs outputs; }; extraSpecialArgs = { inherit inputs outputs; };
modules = [ ./hosts/coder-workspac/home.nix ]; modules = [ ./hosts/coder-workspace/home.nix ];
}; };
}; };

View File

@ -14,5 +14,10 @@
imports = [ outputs.homeManagerModules.common ]; imports = [ outputs.homeManagerModules.common ];
home = {
username = "ricard";
homeDirectory = "/home/ricard";
};
home.stateVersion = "23.05"; home.stateVersion = "23.05";
} }

View File

@ -1,6 +1,9 @@
echidna: echidna:
home-manager switch --flake .#rilla@echidna home-manager switch --flake .#rilla@echidna
coder-workspace:
home-manager switch --flake .#ricard@coder-workspace
capibara: capibara:
doas nixos-rebuild switch --flake .#capibara doas nixos-rebuild switch --flake .#capibara