mirror of
https://github.com/RichieCahill/dotfiles.git
synced 2026-04-17 04:58:19 -04:00
adding rhapsody-in-green
This commit is contained in:
@@ -5,6 +5,7 @@
|
|||||||
path = "/home/richie/notes";
|
path = "/home/richie/notes";
|
||||||
devices = [
|
devices = [
|
||||||
"jeeves"
|
"jeeves"
|
||||||
|
"rhapsody-in-green"
|
||||||
];
|
];
|
||||||
fsWatcherEnabled = true;
|
fsWatcherEnabled = true;
|
||||||
};
|
};
|
||||||
@@ -14,6 +15,7 @@
|
|||||||
devices = [
|
devices = [
|
||||||
"phone"
|
"phone"
|
||||||
"jeeves"
|
"jeeves"
|
||||||
|
"rhapsody-in-green"
|
||||||
];
|
];
|
||||||
fsWatcherEnabled = true;
|
fsWatcherEnabled = true;
|
||||||
};
|
};
|
||||||
@@ -23,6 +25,7 @@
|
|||||||
devices = [
|
devices = [
|
||||||
"phone"
|
"phone"
|
||||||
"jeeves"
|
"jeeves"
|
||||||
|
"rhapsody-in-green"
|
||||||
];
|
];
|
||||||
fsWatcherEnabled = true;
|
fsWatcherEnabled = true;
|
||||||
};
|
};
|
||||||
@@ -33,6 +36,7 @@
|
|||||||
"ipad"
|
"ipad"
|
||||||
"phone"
|
"phone"
|
||||||
"jeeves"
|
"jeeves"
|
||||||
|
"rhapsody-in-green"
|
||||||
];
|
];
|
||||||
fsWatcherEnabled = true;
|
fsWatcherEnabled = true;
|
||||||
};
|
};
|
||||||
@@ -41,6 +45,7 @@
|
|||||||
path = "/home/richie/projects";
|
path = "/home/richie/projects";
|
||||||
devices = [
|
devices = [
|
||||||
"jeeves"
|
"jeeves"
|
||||||
|
"rhapsody-in-green"
|
||||||
];
|
];
|
||||||
fsWatcherEnabled = true;
|
fsWatcherEnabled = true;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ in
|
|||||||
path = vars.media_notes;
|
path = vars.media_notes;
|
||||||
devices = [
|
devices = [
|
||||||
"bob"
|
"bob"
|
||||||
|
"rhapsody-in-green"
|
||||||
];
|
];
|
||||||
fsWatcherEnabled = true;
|
fsWatcherEnabled = true;
|
||||||
};
|
};
|
||||||
@@ -18,6 +19,7 @@ in
|
|||||||
path = "${vars.storage_syncthing}/books";
|
path = "${vars.storage_syncthing}/books";
|
||||||
devices = [
|
devices = [
|
||||||
"bob"
|
"bob"
|
||||||
|
"rhapsody-in-green"
|
||||||
"phone"
|
"phone"
|
||||||
];
|
];
|
||||||
fsWatcherEnabled = true;
|
fsWatcherEnabled = true;
|
||||||
@@ -27,6 +29,7 @@ in
|
|||||||
path = "${vars.storage_syncthing}/important";
|
path = "${vars.storage_syncthing}/important";
|
||||||
devices = [
|
devices = [
|
||||||
"bob"
|
"bob"
|
||||||
|
"rhapsody-in-green"
|
||||||
"phone"
|
"phone"
|
||||||
];
|
];
|
||||||
fsWatcherEnabled = true;
|
fsWatcherEnabled = true;
|
||||||
@@ -36,6 +39,7 @@ in
|
|||||||
path = "${vars.storage_syncthing}/music";
|
path = "${vars.storage_syncthing}/music";
|
||||||
devices = [
|
devices = [
|
||||||
"bob"
|
"bob"
|
||||||
|
"rhapsody-in-green"
|
||||||
"ipad"
|
"ipad"
|
||||||
"phone"
|
"phone"
|
||||||
];
|
];
|
||||||
@@ -46,6 +50,7 @@ in
|
|||||||
path = "${vars.storage_syncthing}/projects";
|
path = "${vars.storage_syncthing}/projects";
|
||||||
devices = [
|
devices = [
|
||||||
"bob"
|
"bob"
|
||||||
|
"rhapsody-in-green"
|
||||||
];
|
];
|
||||||
fsWatcherEnabled = true;
|
fsWatcherEnabled = true;
|
||||||
};
|
};
|
||||||
|
|||||||
54
systems/rhapsody-in-green/default.nix
Normal file
54
systems/rhapsody-in-green/default.nix
Normal 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";
|
||||||
|
}
|
||||||
9
systems/rhapsody-in-green/hardware.nix
Normal file
9
systems/rhapsody-in-green/hardware.nix
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
modulesPath,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
|
||||||
|
{
|
||||||
|
}
|
||||||
53
systems/rhapsody-in-green/syncthing.nix
Normal file
53
systems/rhapsody-in-green/syncthing.nix
Normal 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;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
6
users/richie/systems/rhapsody-in-green.nix
Normal file
6
users/richie/systems/rhapsody-in-green.nix
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
imports = [
|
||||||
|
../home/global.nix
|
||||||
|
../home/gui
|
||||||
|
];
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user