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