syncthing: Declarative
I could split this commit in more but I won't. The first commit in this repository said it would be the last legible one, and I haven't followed that, so YOLO.
This commit is contained in:
parent
b7d56a3118
commit
8edb670486
20 changed files with 222 additions and 45 deletions
|
@ -1,7 +1,7 @@
|
|||
{ pkgs, lib, config, ... }:
|
||||
{
|
||||
config = {
|
||||
networking.hostName = "curacao";
|
||||
frogeye.name = "curacao";
|
||||
};
|
||||
imports = [
|
||||
./backup
|
||||
|
|
|
@ -10,7 +10,7 @@ let
|
|||
"space_cache"
|
||||
"ssd"
|
||||
];
|
||||
passwordFile = "/tmp/dotfiles_${config.networking.hostName}_password";
|
||||
passwordFile = "/tmp/dotfiles_${config.frogeye.name}_password";
|
||||
in
|
||||
{
|
||||
disko.devices = {
|
||||
|
|
|
@ -9,5 +9,6 @@
|
|||
};
|
||||
extra = true;
|
||||
gaming = true;
|
||||
storageSize = "big";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
{
|
||||
config = {
|
||||
boot.loader.efi.canTouchEfiVariables = false;
|
||||
disko.devices.disk."${config.networking.hostName}".device = "/dev/disk/by-id/usb-Kingston_DataTraveler_3.0_E0D55EA57414F510489F0F1A-0:0";
|
||||
networking.hostName = "curacao-usb";
|
||||
disko.devices.disk."${config.frogeye.name}".device = "/dev/disk/by-id/usb-Kingston_DataTraveler_3.0_E0D55EA57414F510489F0F1A-0:0";
|
||||
frogeye.name = "curacao-usb";
|
||||
};
|
||||
imports = [
|
||||
../common/disko/single_uefi_btrfs.nix
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue