feat: unify home-pc naming
This commit is contained in:
parent
dfe6dbecf3
commit
b6dbe19a6f
|
@ -111,12 +111,12 @@
|
||||||
|
|
||||||
inherit lib overlays nixosModules homeManagerModules;
|
inherit lib overlays nixosModules homeManagerModules;
|
||||||
|
|
||||||
nixosConfigurations.felix-nixos = nixpkgs.lib.nixosSystem {
|
nixosConfigurations.home-pc = nixpkgs.lib.nixosSystem {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
modules = [
|
modules = [
|
||||||
nixpkgs.nixosModules.notDetected
|
nixpkgs.nixosModules.notDetected
|
||||||
(lib.createSystem "felix-nixos" {
|
(lib.createSystem "home-pc" {
|
||||||
hardwareConfig = ./hardware/felix-nixos.nix;
|
hardwareConfig = ./hardware/home-pc.nix;
|
||||||
config = ./home-pc.nix;
|
config = ./home-pc.nix;
|
||||||
})
|
})
|
||||||
(lib.createUser "felschr" {
|
(lib.createUser "felschr" {
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
fileSystems."/.swap" = {
|
fileSystems."/.swap" = {
|
||||||
device = "/dev/disk/by-uuid/5830e9b3-260b-451c-bfee-2028c64c6199";
|
device = "/dev/disk/by-uuid/5830e9b3-260b-451c-bfee-2028c64c6199";
|
||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
options = [ "subvol=@swap" "nodatacow" ];
|
options = [ "subvol=@swap" "nodatacow" "noatime" ];
|
||||||
neededForBoot = true;
|
neededForBoot = true;
|
||||||
};
|
};
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
./desktop
|
./desktop
|
||||||
./virtualisation/docker.nix
|
./virtualisation/docker.nix
|
||||||
./services/samba/home-pc.nix
|
./services/samba/home-pc.nix
|
||||||
./services/syncthing/felix-nixos.nix
|
./services/syncthing/home-pc.nix
|
||||||
./services/restic/home-pc.nix
|
./services/restic/home-pc.nix
|
||||||
./services/pcscd.nix
|
./services/pcscd.nix
|
||||||
];
|
];
|
||||||
|
|
|
@ -13,7 +13,7 @@ in {
|
||||||
configDir = "/home/felschr/.config/syncthing";
|
configDir = "/home/felschr/.config/syncthing";
|
||||||
dataDir = "/home/felschr/.local/share/syncthing";
|
dataDir = "/home/felschr/.local/share/syncthing";
|
||||||
devices = {
|
devices = {
|
||||||
felix-nixos = {
|
home-pc = {
|
||||||
id = "S4GZGYU-YN4SRVQ-SXSVWSJ-QYJYNIZ-LECWTJN-YMIUN5U-SNKECTW-BD3KOAB";
|
id = "S4GZGYU-YN4SRVQ-SXSVWSJ-QYJYNIZ-LECWTJN-YMIUN5U-SNKECTW-BD3KOAB";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -22,13 +22,13 @@ in {
|
||||||
"Default" = {
|
"Default" = {
|
||||||
id = "default";
|
id = "default";
|
||||||
path = "/home/felschr/sync/default";
|
path = "/home/felschr/sync/default";
|
||||||
devices = [ "felix-nixos" ];
|
devices = [ "home-pc" ];
|
||||||
inherit versioning;
|
inherit versioning;
|
||||||
};
|
};
|
||||||
"Backups" = {
|
"Backups" = {
|
||||||
id = "backups";
|
id = "backups";
|
||||||
path = "/home/felschr/sync/backups";
|
path = "/home/felschr/sync/backups";
|
||||||
devices = [ "felix-nixos" ];
|
devices = [ "home-pc" ];
|
||||||
inherit versioning;
|
inherit versioning;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue