mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 17:31: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:
|
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
|
||||||
12
flake.nix
12
flake.nix
|
|
@ -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"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -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";
|
||||||
|
|
||||||
|
|
@ -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";
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue