Merge remote-tracking branch 'refs/remotes/origin/main'

This commit is contained in:
beanigen 2025-02-21 13:16:30 +08:00
commit 4794efc276
No known key found for this signature in database
3 changed files with 43 additions and 0 deletions

View file

@ -8,6 +8,7 @@
./sway.nix
./theming.nix
./packages.nix #general user packages not managed by home-manager but i want to install via hm anyways
./syncthing.nix #this is a big block of configuration, really dont feel like cluttering this file more than it already is
];
home = rec {
username = vars.user; #this is set in flake.nix
@ -19,6 +20,7 @@
};
};
programs.home-manager.enable = (!vars.isNixOS); #value is set in flake.nix
targets.genericLinux.enable = (!vars.isNixOS);
programs.foot = {
enable = true;
settings.main.font = "monospace:size=10";

View file

@ -2,6 +2,7 @@
home.packages = with pkgs; [
prismlauncher
libgpod
nextcloud-client
blender-hip
libimobiledevice
mpc

40
home/syncthing.nix Normal file
View file

@ -0,0 +1,40 @@
{
services.syncthing = {
enable = true;
overrideDevices = true;
overrideFolders = true;
settings = {
devices = {
"hypermac" = { id = "XVY5YLM-QETCA4H-KT4XBEH-IR4U47O-CJCJ5YM-DPVWQQX-VHEK4MS-GJCMIQ2"; };
"adventurer" = { id = "LLKP3BJ-5RBN5KR-63NXUCW-JC4FMAX-QOXTJBK-65OHI7V-OKZQPTD-5FJIIAB"; };
"callisto" = { id = "NPXGWEK-JP4C2NM-QZZPBYI-ISAXIZK-ORCNVGO-C4GFRHJ-SWWFQGC-F5JAMQC"; };
"traveler" = { id = "JVNNE3V-IMVW2YL-JKEWUJZ-N5PU4NE-3YQDEU7-77ZHIP3-ADW3LAA-NODOVA3"; };
};
folders = {
"General" = {
path = "/home/maya/sync/general";
devices = [ "callisto" "hypermac" "adventurer" "traveler" ];
};
"Music" = {
path = "/home/maya/Music";
devices = [ "callisto" "hypermac" "adventurer" "traveler" ];
};
"College" = {
path = "/home/maya/sync/college";
devices = [ "callisto" "hypermac" "adventurer" "traveler" ];
versioning = {
type = "staggered";
params = {
cleanInterval = "3600";
maxAge = "15768000";
};
};
};
"PrusaSlicer" = {
path = "/home/maya/.config/PrusaSlicer";
devices = [ "callisto" "hypermac" "adventurer" "traveler" ];
};
};
};
};
}