Rename the hosts

This commit is contained in:
SebastianStork 2024-04-21 21:23:44 +02:00
parent 7481d44f0a
commit a101b7ab25
11 changed files with 14 additions and 14 deletions

View file

@ -1,12 +1,12 @@
keys: keys:
- &seb-desktop age18x6herevmcuhcmeh47ll6p9ck9zk4ga6gfxwlc8yl49rwjxm7qusylwfgc - &north age18x6herevmcuhcmeh47ll6p9ck9zk4ga6gfxwlc8yl49rwjxm7qusylwfgc
- &seb-laptop age1jl9s4vp78wuwymjxaje6fg4ax0gg5aq8pn8khfmtn5rvap0d83tqfr05dv - &inspiron age1jl9s4vp78wuwymjxaje6fg4ax0gg5aq8pn8khfmtn5rvap0d83tqfr05dv
creation_rules: creation_rules:
- path_regex: hosts/seb-desktop/secrets.yaml$ - path_regex: hosts/north/secrets.yaml$
key_groups: key_groups:
- age: - age:
- *seb-desktop - *north
- path_regex: hosts/seb-laptop/secrets.yaml$ - path_regex: hosts/inspiron/secrets.yaml$
key_groups: key_groups:
- age: - age:
- *seb-laptop - *inspiron

View file

@ -40,18 +40,18 @@
pkgs = nixpkgs.legacyPackages.${system}; pkgs = nixpkgs.legacyPackages.${system};
in { in {
nixosConfigurations = { nixosConfigurations = {
seb-desktop = nixpkgs.lib.nixosSystem { north = nixpkgs.lib.nixosSystem {
specialArgs = {inherit inputs;}; specialArgs = {inherit inputs;};
modules = [ modules = [
./hosts/seb-desktop ./hosts/north
"${./.}/users/seb/@seb-desktop.nix" "${./.}/users/seb/@north.nix"
]; ];
}; };
seb-laptop = nixpkgs.lib.nixosSystem { inspiron = nixpkgs.lib.nixosSystem {
specialArgs = {inherit inputs;}; specialArgs = {inherit inputs;};
modules = [ modules = [
./hosts/seb-laptop ./hosts/inspiron
"${./.}/users/seb/@seb-laptop.nix" "${./.}/users/seb/@inspiron.nix"
]; ];
}; };
}; };

View file

@ -4,7 +4,7 @@
./hardware.nix ./hardware.nix
]; ];
networking.hostName = "seb-laptop"; networking.hostName = "inspiron";
environment.sessionVariables.FLAKE = "/home/seb/Projects/nixos/my-config"; environment.sessionVariables.FLAKE = "/home/seb/Projects/nixos/my-config";

View file

@ -4,7 +4,7 @@
./hardware.nix ./hardware.nix
]; ];
networking.hostName = "seb-desktop"; networking.hostName = "north";
environment.sessionVariables.FLAKE = "/home/seb/Projects/nixos/my-config"; environment.sessionVariables.FLAKE = "/home/seb/Projects/nixos/my-config";