diff --git a/systems/bob/syncthing.nix b/systems/bob/syncthing.nix index ad120f7..fb48dbe 100644 --- a/systems/bob/syncthing.nix +++ b/systems/bob/syncthing.nix @@ -5,6 +5,7 @@ path = "/home/richie/notes"; devices = [ "jeeves" + "rhapsody-in-green" ]; fsWatcherEnabled = true; }; @@ -14,6 +15,7 @@ devices = [ "phone" "jeeves" + "rhapsody-in-green" ]; fsWatcherEnabled = true; }; @@ -23,6 +25,7 @@ devices = [ "phone" "jeeves" + "rhapsody-in-green" ]; fsWatcherEnabled = true; }; @@ -33,6 +36,7 @@ "ipad" "phone" "jeeves" + "rhapsody-in-green" ]; fsWatcherEnabled = true; }; @@ -41,6 +45,7 @@ path = "/home/richie/projects"; devices = [ "jeeves" + "rhapsody-in-green" ]; fsWatcherEnabled = true; }; diff --git a/systems/jeeves/syncthing.nix b/systems/jeeves/syncthing.nix index 2938a44..cc18ca6 100644 --- a/systems/jeeves/syncthing.nix +++ b/systems/jeeves/syncthing.nix @@ -10,6 +10,7 @@ in path = vars.media_notes; devices = [ "bob" + "rhapsody-in-green" ]; fsWatcherEnabled = true; }; @@ -18,6 +19,7 @@ in path = "${vars.storage_syncthing}/books"; devices = [ "bob" + "rhapsody-in-green" "phone" ]; fsWatcherEnabled = true; @@ -27,6 +29,7 @@ in path = "${vars.storage_syncthing}/important"; devices = [ "bob" + "rhapsody-in-green" "phone" ]; fsWatcherEnabled = true; @@ -36,6 +39,7 @@ in path = "${vars.storage_syncthing}/music"; devices = [ "bob" + "rhapsody-in-green" "ipad" "phone" ]; @@ -46,6 +50,7 @@ in path = "${vars.storage_syncthing}/projects"; devices = [ "bob" + "rhapsody-in-green" ]; fsWatcherEnabled = true; }; diff --git a/systems/rhapsody-in-green/default.nix b/systems/rhapsody-in-green/default.nix new file mode 100644 index 0000000..725632a --- /dev/null +++ b/systems/rhapsody-in-green/default.nix @@ -0,0 +1,54 @@ +{ inputs, ... }: +{ + imports = [ + ../../users/richie + ../common/global + ../common/optional/desktop.nix + ../common/optional/syncthing_base.nix + ../common/optional/systemd-boot.nix + ../common/optional/yubikey.nix + ../common/optional/zerotier.nix + ./hardware.nix + ./syncthing.nix + inputs.nixos-hardware.nixosModules.framework-13-7040-amd + ]; + + networking = { + hostName = "rhapsody-in-green"; + networkmanager.enable = true; + hostId = "9b68eb32"; + }; + + hardware = { + pulseaudio.enable = false; + bluetooth = { + enable = true; + powerOnBoot = true; + }; + }; + + security.rtkit.enable = true; + + services = { + + displayManager.sddm.enable = true; + + openssh.ports = [ 922 ]; + + printing.enable = true; + + pipewire = { + enable = true; + alsa.enable = true; + alsa.support32Bit = true; + pulse.enable = true; + }; + + zfs = { + trim.enable = true; + autoScrub.enable = true; + }; + }; + + system.stateVersion = "24.05"; +} diff --git a/systems/rhapsody-in-green/hardware.nix b/systems/rhapsody-in-green/hardware.nix new file mode 100644 index 0000000..a4d1fd5 --- /dev/null +++ b/systems/rhapsody-in-green/hardware.nix @@ -0,0 +1,9 @@ +{ + config, + lib, + modulesPath, + ... +}: + +{ +} diff --git a/systems/rhapsody-in-green/syncthing.nix b/systems/rhapsody-in-green/syncthing.nix new file mode 100644 index 0000000..de9c35f --- /dev/null +++ b/systems/rhapsody-in-green/syncthing.nix @@ -0,0 +1,53 @@ +{ + syncthing.settings.folders = { + "notes" = { + id = "l62ul-lpweo"; # cspell:disable-line + path = "/home/richie/notes"; + devices = [ + "bob" + "jeeves" + ]; + fsWatcherEnabled = true; + }; + "books" = { + id = "6uppx-vadmy"; # cspell:disable-line + path = "/home/richie/books"; + devices = [ + "bob" + "jeeves" + "phone" + ]; + fsWatcherEnabled = true; + }; + "important" = { + id = "4ckma-gtshs"; # cspell:disable-line + path = "/home/richie/important"; + devices = [ + "bob" + "jeeves" + "phone" + ]; + fsWatcherEnabled = true; + }; + "music" = { + id = "vprc5-3azqc"; # cspell:disable-line + path = "/home/richie/music"; + devices = [ + "bob" + "ipad" + "jeeves" + "phone" + ]; + fsWatcherEnabled = true; + }; + "projects" = { + id = "vyma6-lqqrz"; # cspell:disable-line + path = "/home/richie/projects"; + devices = [ + "bob" + "jeeves" + ]; + fsWatcherEnabled = true; + }; + }; +} diff --git a/users/richie/systems/rhapsody-in-green.nix b/users/richie/systems/rhapsody-in-green.nix new file mode 100644 index 0000000..b1d9590 --- /dev/null +++ b/users/richie/systems/rhapsody-in-green.nix @@ -0,0 +1,6 @@ +{ + imports = [ + ../home/global.nix + ../home/gui + ]; +}