adding rhapsody-in-green

This commit is contained in:
2024-10-03 21:07:04 -04:00
parent fd407de917
commit 81e0bd8517
6 changed files with 132 additions and 0 deletions

View File

@@ -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;
};

View File

@@ -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;
};

View File

@@ -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";
}

View File

@@ -0,0 +1,9 @@
{
config,
lib,
modulesPath,
...
}:
{
}

View File

@@ -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;
};
};
}