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:
- &seb-desktop age18x6herevmcuhcmeh47ll6p9ck9zk4ga6gfxwlc8yl49rwjxm7qusylwfgc
- &seb-laptop age1jl9s4vp78wuwymjxaje6fg4ax0gg5aq8pn8khfmtn5rvap0d83tqfr05dv
- &north age18x6herevmcuhcmeh47ll6p9ck9zk4ga6gfxwlc8yl49rwjxm7qusylwfgc
- &inspiron age1jl9s4vp78wuwymjxaje6fg4ax0gg5aq8pn8khfmtn5rvap0d83tqfr05dv
creation_rules:
- path_regex: hosts/seb-desktop/secrets.yaml$
- path_regex: hosts/north/secrets.yaml$
key_groups:
- age:
- *seb-desktop
- path_regex: hosts/seb-laptop/secrets.yaml$
- *north
- path_regex: hosts/inspiron/secrets.yaml$
key_groups:
- age:
- *seb-laptop
- *inspiron

View file

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

View file

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

View file

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