mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 12:29:19 -08:00
feat(syncthing): woooo!
This commit is contained in:
parent
5a94fe7878
commit
fd54ad144f
2 changed files with 21 additions and 5 deletions
|
|
@ -33,5 +33,7 @@
|
|||
v4l-utils # Webcam
|
||||
obsidian
|
||||
remmina
|
||||
veracrypt
|
||||
gimp
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,9 @@
|
|||
_: let
|
||||
hostConfig = {tree, ...}: {
|
||||
hostConfig = {
|
||||
tree,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
imports =
|
||||
(with tree.nixos.hardware; [
|
||||
framework
|
||||
|
|
@ -38,7 +42,10 @@ _: let
|
|||
};
|
||||
};
|
||||
|
||||
boot.extraModprobeConfig = "options snd_hda_intel power_save=0";
|
||||
boot = {
|
||||
extraModprobeConfig = "options snd_hda_intel power_save=0";
|
||||
extraModulePackages = [config.boot.kernelPackages.v4l2loopback.out];
|
||||
};
|
||||
|
||||
programs.ssh.extraConfig = ''
|
||||
Host daiyousei-build
|
||||
|
|
@ -66,9 +73,16 @@ _: let
|
|||
};
|
||||
|
||||
# optional, useful when the builder has a faster internet connection than yours
|
||||
services.printing.enable = true;
|
||||
|
||||
services.hardware.bolt.enable = true;
|
||||
services = {
|
||||
printing.enable = true;
|
||||
syncthing = {
|
||||
enable = true;
|
||||
openDefaultPorts = true;
|
||||
user = "kat";
|
||||
dataDir = "/home/kat";
|
||||
};
|
||||
hardware.bolt.enable = true;
|
||||
};
|
||||
|
||||
swapDevices = [
|
||||
{device = "/dev/disk/by-uuid/04bd322e-dca0-43b8-b588-cc0ef1b1488e";}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue