added syncthing

This commit is contained in:
specCon18 2023-07-29 02:54:31 -04:00
parent e34907e038
commit b8907010fe
8 changed files with 46 additions and 17 deletions

View file

@ -59,16 +59,6 @@
in
{
nixosConfigurations = {
creatorforge-vm = mkComputer
./machines/proxmox-vm.nix #machine specific configuration
"speccon18" #default user
[
./hosts/proton.nix
./modules/system/services/docker.nix
./modules/system/services/openssh.nix
./modules/system/desktop-environments/gnome.nix
] #extra modules to load
[]; #extra modules to be loaded by home-manager
katana = mkComputer
./machines/katana.nix #machine specific configuration
"speccon18" #default user
@ -82,6 +72,7 @@
./modules/system/services/openssh.nix
./modules/system/desktop-environments/gnome.nix
./modules/system/desktop-environments/hyprland.nix
./modules/system/services/syncthing.nix
] #extra modules to load
[

View file

@ -48,4 +48,20 @@
jack.enable = true;
};
};
nix = {
# Sets flakes to unstable track instead of stable #
package = pkgs.nixUnstable; # or versioned attributes like nix_2_4
# Enable flakes and nix-command
extraOptions = ''experimental-features = nix-command flakes'';
# Auto maintainence
settings.auto-optimise-store = lib.mkDefault true;
# Prevent tampering of the pkgstore
readOnlyStore = true;
# Garbage collection
gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 7d";
};
};
}

View file

@ -25,5 +25,6 @@
sops #file based secrets operations
direnv #used for development environments
python39
gcc
];
}

View file

@ -8,7 +8,7 @@
columns = 120;
lines = 25;
};
decorations = "none";
decorations = "full";
opacity = 0.9;
title = "Alacritty";
};

View file

@ -0,0 +1,4 @@
{ pkgs, config, lib, ...}:
{
wa
}

View file

@ -5,5 +5,7 @@
libsForQt5.qt5.qtwayland
qt6.qtwayland
eww-wayland
waybar
hyprpaper
];
}

View file

@ -0,0 +1,21 @@
{config, lib, pkgs, modulesPath, ... }:
{
services.syncthing = {
enable = true;
dataDir = "/home/speccon18";
openDefaultPorts = true;
configDir = "/home/speccon18/.config/syncthing";
user = "speccon18";
group = "users";
extraOptions.gui = {
user = "admin";
password = "Strife-Rerun-Lily-Pushover-Alongside-Raider0-Freebase";
};
guiAddress = "0.0.0.0:8384";
overrideDevices = true;
overrideFolders = true;
devices = {
"syncthing_server" = { id = "N3UGNP6-ZU6JHBX-WNJDEUF-FV5DOWA-VAGFDYN-FIIMFRR-C3HGQHU-WOEIUQ6"; };
};
};
}

View file

@ -9,23 +9,17 @@
freecad
prismlauncher
calibre
w3m
bitwarden
firefox
discord
nodejs-18_x
nerdfonts
fira-code
libreoffice
asciinema
postman
gimp
obsidian
neofetch
vlc
remmina
signal-desktop
just
bacon
bottom
broot