syntching
testing and qmk
This commit is contained in:
parent
4a657d52f5
commit
63ee0f1209
6 changed files with 16 additions and 50 deletions
|
@ -168,7 +168,7 @@
|
|||
gui = [ sway xdg gtk foot bat ];
|
||||
browser = [ firefox chromium qutebrowser tor-browser ];
|
||||
multimedia = [ mpv zathura ];
|
||||
dev = [ vim emacs vscode lorri direnv ];
|
||||
dev = [ vim emacs vscode lorri direnv qmk ];
|
||||
modelling = [ blender cura ];
|
||||
};
|
||||
};
|
||||
|
|
|
@ -165,34 +165,21 @@
|
|||
guiAddress = "0.0.0.0:8384";
|
||||
dataDir = "/mnt/archivio/syncthing";
|
||||
user = "ccr";
|
||||
devices = {
|
||||
oneplus5t = {
|
||||
id = "IUETIK2-LBTIIKO-GTZXVMA-LEDFK5I-F2M7JKX-76OUDJL-QRJ62J4-5DYYIAI";
|
||||
};
|
||||
pc = {
|
||||
id = "VI4CPQE-PTRRBQQ-LQVG3SE-7BVHQC2-TT4TIP7-L3OBXQR-AWLZVCO-GVPQUQG";
|
||||
};
|
||||
};
|
||||
folders = {
|
||||
"/mnt/archivio/syncthing/camera" = {
|
||||
id = "camera";
|
||||
devices = [ "oneplus5t" ];
|
||||
};
|
||||
"/mnt/archivio/syncthing/orgzly" = {
|
||||
id = "orgzly";
|
||||
devices = [ "oneplus5t" "pc" ];
|
||||
};
|
||||
"/mnt/archivio/syncthing/roam" = {
|
||||
id = "roam";
|
||||
devices = [ "oneplus5t" "pc" ];
|
||||
};
|
||||
"/mnt/archivio/syncthing/whatsapp" = {
|
||||
id = "whatsapp";
|
||||
devices = [ "oneplus5t" ];
|
||||
};
|
||||
"/mnt/archivio/syncthing/calls" = {
|
||||
id = "calls";
|
||||
devices = [ "oneplus5t" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{ config, lib, pkgs, profiles, pbpKernelLatest, ... }:
|
||||
|
||||
{
|
||||
imports = with profiles; [ mount-nas sshd dbus avahi printing xdg ];
|
||||
imports = with profiles; [ mount-nas sshd dbus avahi printing xdg syncthing ];
|
||||
|
||||
boot = {
|
||||
initrd.availableKernelModules = [ "usbhid" ];
|
||||
|
@ -56,22 +56,5 @@
|
|||
};
|
||||
};
|
||||
|
||||
services.syncthing = {
|
||||
enable = true;
|
||||
guiAddress = "127.0.0.1:8384";
|
||||
dataDir = "/home/ccr/syncthing";
|
||||
user = "ccr";
|
||||
folders = {
|
||||
"orgzly" = {
|
||||
id = "orgzly";
|
||||
path = "/home/ccr/orgzly";
|
||||
};
|
||||
"roam" = {
|
||||
id = "roam";
|
||||
path = "/home/ccr/roam";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{ config, lib, pkgs, profiles, ... }:
|
||||
|
||||
{
|
||||
imports = with profiles; [ mount-nas sshd dbus avahi printing xdg docker adb ];
|
||||
imports = with profiles; [ mount-nas sshd dbus avahi printing xdg docker adb syncthing ];
|
||||
|
||||
boot = {
|
||||
initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
|
||||
|
@ -51,22 +51,5 @@
|
|||
};
|
||||
};
|
||||
|
||||
services.syncthing = {
|
||||
enable = true;
|
||||
guiAddress = "127.0.0.1:8384";
|
||||
dataDir = "/home/ccr/syncthing";
|
||||
user = "ccr";
|
||||
folders = {
|
||||
"orgzly" = {
|
||||
id = "orgzly";
|
||||
path = "/home/ccr/orgzly";
|
||||
};
|
||||
"roam" = {
|
||||
id = "roam";
|
||||
path = "/home/ccr/roam";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
||||
}
|
||||
|
|
8
profiles/syncthing/default.nix
Normal file
8
profiles/syncthing/default.nix
Normal file
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
services.syncthing = {
|
||||
enable = true;
|
||||
guiAddress = "127.0.0.1:8384";
|
||||
dataDir = "/home/ccr/syncthing";
|
||||
user = "ccr";
|
||||
};
|
||||
}
|
5
users/profiles/qmk/default.nix
Normal file
5
users/profiles/qmk/default.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
{ pkgs, ... }: with pkgs; {
|
||||
|
||||
home.packages = [ qmk ];
|
||||
|
||||
}
|
Loading…
Add table
Reference in a new issue