Compare commits
No commits in common. "240b1b456852531bad14d944ba8813b434d62271" and "95455594ee921ccd89aa7da77e3bdc86a67df537" have entirely different histories.
240b1b4568
...
95455594ee
6 changed files with 5 additions and 24 deletions
|
|
@ -27,12 +27,6 @@
|
||||||
accent = "blue";
|
accent = "blue";
|
||||||
};
|
};
|
||||||
|
|
||||||
containers = {
|
|
||||||
enable = true;
|
|
||||||
jellyfin.enable = true;
|
|
||||||
interface = "wlp192s0";
|
|
||||||
};
|
|
||||||
|
|
||||||
users.default.enable = true;
|
users.default.enable = true;
|
||||||
|
|
||||||
base = {
|
base = {
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,6 @@ in {
|
||||||
containers = {
|
containers = {
|
||||||
enable = true;
|
enable = true;
|
||||||
backupDir = "/home/${username}/backups";
|
backupDir = "/home/${username}/backups";
|
||||||
interface = "enp2s0";
|
|
||||||
|
|
||||||
nginx.enable = true;
|
nginx.enable = true;
|
||||||
vaultwarden.enable = true;
|
vaultwarden.enable = true;
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,6 @@ in {
|
||||||
sqlitebrowser
|
sqlitebrowser
|
||||||
typst
|
typst
|
||||||
xclip
|
xclip
|
||||||
unityhub
|
|
||||||
uv
|
uv
|
||||||
zed-editor
|
zed-editor
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -10,15 +10,11 @@ in {
|
||||||
./nginx.nix
|
./nginx.nix
|
||||||
./forgejo.nix
|
./forgejo.nix
|
||||||
./vaultwarden.nix
|
./vaultwarden.nix
|
||||||
./jellyfin.nix
|
|
||||||
];
|
];
|
||||||
|
|
||||||
options = {
|
options = {
|
||||||
horseman.containers = {
|
horseman.containers = {
|
||||||
enable = mkEnableOption "Containers";
|
enable = mkEnableOption "Containers";
|
||||||
interface = mkOption {
|
|
||||||
type = types.str;
|
|
||||||
};
|
|
||||||
backupDir = mkOption {
|
backupDir = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
};
|
};
|
||||||
|
|
@ -30,7 +26,7 @@ in {
|
||||||
enable = true;
|
enable = true;
|
||||||
# Use "ve-*" when using nftables instead of iptables
|
# Use "ve-*" when using nftables instead of iptables
|
||||||
internalInterfaces = ["ve-+"];
|
internalInterfaces = ["ve-+"];
|
||||||
externalInterface = cfg.interface;
|
externalInterface = "enp2s0";
|
||||||
# Lazy IPv6 connectivity for the container
|
# Lazy IPv6 connectivity for the container
|
||||||
enableIPv6 = true;
|
enableIPv6 = true;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -52,13 +52,6 @@ in {
|
||||||
id = "documentFolder";
|
id = "documentFolder";
|
||||||
path = "/home/${username}/Documents";
|
path = "/home/${username}/Documents";
|
||||||
devices = ["artemis" "terra" "solis"];
|
devices = ["artemis" "terra" "solis"];
|
||||||
ignorePatterns = [
|
|
||||||
"node_modules"
|
|
||||||
".venv"
|
|
||||||
"venv"
|
|
||||||
"dist-newstyle"
|
|
||||||
"constipated-koala/storage"
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
"Programming" = {
|
"Programming" = {
|
||||||
id = "programmingFolder";
|
id = "programmingFolder";
|
||||||
|
|
|
||||||
|
|
@ -88,12 +88,12 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
"cpu" = {
|
"cpu" = {
|
||||||
interval = 3;
|
interval = 1;
|
||||||
on-click = "kitty btop &";
|
on-click = "kitty btop &";
|
||||||
};
|
};
|
||||||
|
|
||||||
"memory" = {
|
"memory" = {
|
||||||
interval = 3;
|
interval = 1;
|
||||||
on-click = "kitty btop &";
|
on-click = "kitty btop &";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -102,7 +102,7 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
"network" = {
|
"network" = {
|
||||||
interval = 3;
|
interval = 1;
|
||||||
|
|
||||||
tooltip-format = " {bandwidthDownBits} , {bandwidthDownBits} ";
|
tooltip-format = " {bandwidthDownBits} , {bandwidthDownBits} ";
|
||||||
tooltip-format-wifi = "{essid}: {bandwidthDownBits} , {bandwidthDownBits} ";
|
tooltip-format-wifi = "{essid}: {bandwidthDownBits} , {bandwidthDownBits} ";
|
||||||
|
|
@ -110,7 +110,7 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
"battery" = {
|
"battery" = {
|
||||||
interval = 3;
|
interval = 1;
|
||||||
format-icons = ["" "" "" "" ""];
|
format-icons = ["" "" "" "" ""];
|
||||||
states = {
|
states = {
|
||||||
critical = 15;
|
critical = 15;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue