feat: unify home-pc naming

This commit is contained in:
Felix Schröter 2022-02-05 01:24:41 +01:00
parent dfe6dbecf3
commit b6dbe19a6f
Signed by: felschr
GPG key ID: 671E39E6744C807D
5 changed files with 8 additions and 8 deletions

View file

@ -111,12 +111,12 @@
inherit lib overlays nixosModules homeManagerModules;
nixosConfigurations.felix-nixos = nixpkgs.lib.nixosSystem {
nixosConfigurations.home-pc = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
nixpkgs.nixosModules.notDetected
(lib.createSystem "felix-nixos" {
hardwareConfig = ./hardware/felix-nixos.nix;
(lib.createSystem "home-pc" {
hardwareConfig = ./hardware/home-pc.nix;
config = ./home-pc.nix;
})
(lib.createUser "felschr" {

View file

@ -28,7 +28,7 @@
fileSystems."/.swap" = {
device = "/dev/disk/by-uuid/5830e9b3-260b-451c-bfee-2028c64c6199";
fsType = "btrfs";
options = [ "subvol=@swap" "nodatacow" ];
options = [ "subvol=@swap" "nodatacow" "noatime" ];
neededForBoot = true;
};

View file

@ -11,7 +11,7 @@
./desktop
./virtualisation/docker.nix
./services/samba/home-pc.nix
./services/syncthing/felix-nixos.nix
./services/syncthing/home-pc.nix
./services/restic/home-pc.nix
./services/pcscd.nix
];

View file

@ -13,7 +13,7 @@ in {
configDir = "/home/felschr/.config/syncthing";
dataDir = "/home/felschr/.local/share/syncthing";
devices = {
felix-nixos = {
home-pc = {
id = "S4GZGYU-YN4SRVQ-SXSVWSJ-QYJYNIZ-LECWTJN-YMIUN5U-SNKECTW-BD3KOAB";
};
};
@ -22,13 +22,13 @@ in {
"Default" = {
id = "default";
path = "/home/felschr/sync/default";
devices = [ "felix-nixos" ];
devices = [ "home-pc" ];
inherit versioning;
};
"Backups" = {
id = "backups";
path = "/home/felschr/sync/backups";
devices = [ "felix-nixos" ];
devices = [ "home-pc" ];
inherit versioning;
};
};