mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 15:11:34 +01:00
Rename the hosts
This commit is contained in:
parent
7481d44f0a
commit
a101b7ab25
11 changed files with 14 additions and 14 deletions
12
.sops.yaml
12
.sops.yaml
|
|
@ -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
|
||||
12
flake.nix
12
flake.nix
|
|
@ -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"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
./hardware.nix
|
||||
];
|
||||
|
||||
networking.hostName = "seb-laptop";
|
||||
networking.hostName = "inspiron";
|
||||
|
||||
environment.sessionVariables.FLAKE = "/home/seb/Projects/nixos/my-config";
|
||||
|
||||
|
|
@ -4,7 +4,7 @@
|
|||
./hardware.nix
|
||||
];
|
||||
|
||||
networking.hostName = "seb-desktop";
|
||||
networking.hostName = "north";
|
||||
|
||||
environment.sessionVariables.FLAKE = "/home/seb/Projects/nixos/my-config";
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue