From 24ecf210d575f5dc18bfe59618f8141e079a768d Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Tue, 27 Jun 2023 13:46:28 +0100 Subject: [PATCH] Rename work laptop to fit theme, capitalise names in syncthing config for consistency --- flake.nix | 8 ++--- hosts/{N0245 => Ronin}/configuration.nix | 2 +- hosts/{N0245 => Ronin}/default.nix | 0 .../hardware-configuration.nix | 0 services/syncthing/{N0245.nix => Ronin.nix} | 0 services/syncthing/default.nix | 32 +++++++++---------- users/elitherl/{N0245.nix => Ronin.nix} | 0 7 files changed, 21 insertions(+), 21 deletions(-) rename hosts/{N0245 => Ronin}/configuration.nix (96%) rename hosts/{N0245 => Ronin}/default.nix (100%) rename hosts/{N0245 => Ronin}/hardware-configuration.nix (100%) rename services/syncthing/{N0245.nix => Ronin.nix} (100%) rename users/elitherl/{N0245.nix => Ronin.nix} (100%) diff --git a/flake.nix b/flake.nix index 54b37117..fdb7dc56 100644 --- a/flake.nix +++ b/flake.nix @@ -84,7 +84,7 @@ {home-manager.users.xenia.imports = [hyprland-home-config];} ]; }; - N0245 = nixpkgs.lib.nixosSystem { + Ronin = nixpkgs.lib.nixosSystem { pkgs = import nixpkgs { system = "x86_64-linux"; config.allowUnfree = true; @@ -93,9 +93,9 @@ modules = [ home-config hyprland-config - ./hosts/N0245 - ./users/elitherl/N0245.nix - ./services/syncthing/N0245.nix + ./hosts/Ronin + ./users/elitherl/Ronin.nix + ./services/syncthing/Ronin.nix {home-manager.users.elitherl.imports = [hyprland-home-config];} ]; }; diff --git a/hosts/N0245/configuration.nix b/hosts/Ronin/configuration.nix similarity index 96% rename from hosts/N0245/configuration.nix rename to hosts/Ronin/configuration.nix index 53a45598..f62971fd 100644 --- a/hosts/N0245/configuration.nix +++ b/hosts/Ronin/configuration.nix @@ -20,7 +20,7 @@ boot.initrd.luks.devices."luks-761eeb11-3091-4142-9232-4fb33165eccd".device = "/dev/disk/by-uuid/761eeb11-3091-4142-9232-4fb33165eccd"; boot.initrd.luks.devices."luks-761eeb11-3091-4142-9232-4fb33165eccd".keyFile = "/crypto_keyfile.bin"; - networking.hostName = "N0245"; # Define your hostname. + networking.hostName = "Ronin"; # Define your hostname. hardware.bluetooth.enable = true; environment.etc."ppp/options".text = '' ipcp-accept-remote diff --git a/hosts/N0245/default.nix b/hosts/Ronin/default.nix similarity index 100% rename from hosts/N0245/default.nix rename to hosts/Ronin/default.nix diff --git a/hosts/N0245/hardware-configuration.nix b/hosts/Ronin/hardware-configuration.nix similarity index 100% rename from hosts/N0245/hardware-configuration.nix rename to hosts/Ronin/hardware-configuration.nix diff --git a/services/syncthing/N0245.nix b/services/syncthing/Ronin.nix similarity index 100% rename from services/syncthing/N0245.nix rename to services/syncthing/Ronin.nix diff --git a/services/syncthing/default.nix b/services/syncthing/default.nix index 6f8aef8f..5e62a56f 100644 --- a/services/syncthing/default.nix +++ b/services/syncthing/default.nix @@ -4,60 +4,60 @@ systemService = true; openDefaultPorts = true; devices = { - "ion".id = "7DD4NPH-6T2ET5A-4FCLFWW-CS6UR2W-IO5XQXC-DM5B2Q4-6X7DGU2-UKKVEAB"; - "legion".id = "6OX54CG-EAQMXKA-K7TXB5P-G5A27HB-52JE2FA-XNAYZU6-YMIDBXP-RKPBJQV"; - "monarch".id = "CJSUZQY-67XBLEZ-VKVHQHI-BLEUZNF-G4237AV-AW44CGH-F3JDKXU-CWT3RQZ"; - "northstar".id = "W3QZTFS-BB42JYB-NQBZ5IM-H3WLAUQ-M57I2CP-FALWGEX-JI2ZZOC-QWAX2QQ"; - "remarkable".id = "GHB6JKS-JOA3HHP-TYHB3IJ-GLV26QW-RWRZAMG-XYFGFB6-QLUHDSH-GNPZVAO"; - "vanguard".id = "I366QNQ-D3FTDRX-RNOTXMW-YITZXOF-DSCDMQD-63Q72LI-ME2Y4HZ-T34RMQK"; - "N0245".id = "ZOL5YHK-ZZZULIE-UHGVKHW-H5E4BP7-S4CZBOX-OIZVUCV-RZUXOKA-QVBUBAJ"; + "Ion".id = "7DD4NPH-6T2ET5A-4FCLFWW-CS6UR2W-IO5XQXC-DM5B2Q4-6X7DGU2-UKKVEAB"; + "Legion".id = "6OX54CG-EAQMXKA-K7TXB5P-G5A27HB-52JE2FA-XNAYZU6-YMIDBXP-RKPBJQV"; + "Monarch".id = "CJSUZQY-67XBLEZ-VKVHQHI-BLEUZNF-G4237AV-AW44CGH-F3JDKXU-CWT3RQZ"; + "Nortstar".id = "W3QZTFS-BB42JYB-NQBZ5IM-H3WLAUQ-M57I2CP-FALWGEX-JI2ZZOC-QWAX2QQ"; + "Ronin".id = "ZOL5YHK-ZZZULIE-UHGVKHW-H5E4BP7-S4CZBOX-OIZVUCV-RZUXOKA-QVBUBAJ"; + "Vanguard".id = "I366QNQ-D3FTDRX-RNOTXMW-YITZXOF-DSCDMQD-63Q72LI-ME2Y4HZ-T34RMQK"; + "Remarkable".id = "GHB6JKS-JOA3HHP-TYHB3IJ-GLV26QW-RWRZAMG-XYFGFB6-QLUHDSH-GNPZVAO"; }; folders = { "Archive" = { id = "hwnqy-xzcdx"; ignorePerms = true; - devices = ["legion" "monarch" "vanguard"]; + devices = ["Legion" "Monarch" "Vanguard"]; }; "Books" = { id = "zjmxy-ycmbq"; ignorePerms = true; - devices = ["legion" "monarch" "northstar" "remarkable" "vanguard"]; + devices = ["Legion" "Monarch" "Nortstar" "Remarkable" "Vanguard"]; }; "Comics" = { id = "kc2h0-q3wot"; ignorePerms = true; - devices = ["ion" "legion" "monarch" "northstar" "vanguard"]; + devices = ["Ion" "Legion" "Monarch" "Nortstar" "Vanguard"]; }; "Documents" = { id = "qc6qa-bipsd"; ignorePerms = true; - devices = ["legion" "monarch" "northstar" "vanguard"]; + devices = ["Legion" "Monarch" "Nortstar" "Vanguard"]; }; "Exports" = { id = "tof2e-pdtde"; ignorePerms = true; - devices = ["legion" "monarch" "vanguard"]; + devices = ["Legion" "Monarch" "Vanguard"]; }; "Notes" = { id = "4ggjz-5dyop"; ignorePerms = true; - devices = ["ion" "legion" "monarch" "northstar" "vanguard" "N0245"]; + devices = ["Ion" "Legion" "Monarch" "Nortstar" "Ronin" "Vanguard"]; }; "Pictures" = { id = "ziuj8-rm6dn"; ignorePerms = true; - devices = ["ion" "legion" "monarch" "northstar" "vanguard"]; + devices = ["Ion" "Legion" "Monarch" "Nortstar" "Vanguard"]; }; "Xochitl" = { id = "dkcbx-kq7hl"; type = "receiveonly"; ignorePerms = true; - devices = ["legion" "remarkable"]; + devices = ["Legion" "Remarkable"]; }; "Zotero" = { id = "huyvn-liwc9"; ignorePerms = true; - devices = ["ion" "legion" "monarch" "northstar" "vanguard" "N0245"]; + devices = ["Ion" "Legion" "Monarch" "Nortstar" "Ronin" "Vanguard"]; }; }; }; diff --git a/users/elitherl/N0245.nix b/users/elitherl/Ronin.nix similarity index 100% rename from users/elitherl/N0245.nix rename to users/elitherl/Ronin.nix