mirror of
https://github.com/danbulant/dotfiles
synced 2026-07-05 19:21:10 +00:00
Compare commits
5 commits
9f6e0f48d3
...
d151ddd07a
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d151ddd07a | ||
|
|
12421790c1 | ||
|
|
bca57cbdc3 | ||
|
|
e7b0784b7c | ||
|
|
536e23a85e |
6 changed files with 416 additions and 171 deletions
|
|
@ -56,10 +56,10 @@ plugin {
|
|||
bg_col = rgb(111111)
|
||||
workspace_method = center current # [center/first] [workspace] e.g. first 1 or center m+1
|
||||
|
||||
enable_gesture = true # laptop touchpad
|
||||
gesture_fingers = 3 # 3 or 4
|
||||
gesture_distance = 300 # how far is the "max"
|
||||
gesture_positive = true # positive = swipe down. Negative = swipe up.
|
||||
# enable_gesture = true # laptop touchpad
|
||||
# gesture_fingers = 3 # 3 or 4
|
||||
# gesture_distance = 300 # how far is the "max"
|
||||
# gesture_positive = true # positive = swipe down. Negative = swipe up.
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -103,7 +103,7 @@ exec-once = wl-paste --type image --watch cliphist store
|
|||
exec-once = fcitx5
|
||||
exec-once = easyeffects --gapplication-service
|
||||
exec-once = dms run
|
||||
|
||||
exec-once = voxtype daemon
|
||||
|
||||
#$swaylock = swaylock --screenshots --clock --indicator --effect-blur 6x6 --fade-in 0.2 --ring-color 4e9dc2 --key-hl-color 71b0ce
|
||||
$swaylock = hyprlock
|
||||
|
|
@ -327,6 +327,13 @@ bind = SUPER+ALT, P, exec, pkill rofi || $dir/rofi/bin/powermenu
|
|||
# bindd = Super, h, Clipboard history >> clipboard, global, quickshell:overviewClipboardToggle # Clipboard history >> clipboard
|
||||
# bindd = Super, Period, Emoji >> clipboard, global, quickshell:overviewEmojiToggle # Emoji >> clipboard
|
||||
|
||||
bind = , XF86AudioRecord, exec, voxtype record-toggle
|
||||
#bind = SUPER, O, exec, voxtype record-toggle
|
||||
bind = SUPER, O, exec, voxtype record start
|
||||
bindr = SUPER, O, exec, voxtype record stop
|
||||
#bind = SUPER, V, exec, voxtype record start
|
||||
#bindr = SUPER, V, exec, voxtype record stop
|
||||
|
||||
$mainMod = SUPER
|
||||
|
||||
#! programs
|
||||
|
|
|
|||
|
|
@ -31,6 +31,13 @@ in
|
|||
];
|
||||
# nyx.low-power.enable = true;
|
||||
hardware.nvidia.dynamicBoost.enable = lib.mkForce false;
|
||||
services.sunshine = {
|
||||
enable = true;
|
||||
autoStart = true;
|
||||
capSysAdmin = true;
|
||||
openFirewall = true;
|
||||
|
||||
};
|
||||
|
||||
nixpkgs.config.permittedInsecurePackages = [
|
||||
"olm-3.2.16"
|
||||
|
|
@ -222,6 +229,7 @@ in
|
|||
"https://colmena.cachix.org"
|
||||
"https://install.determinate.systems"
|
||||
"https://cache.garnix.io"
|
||||
"https://rusic.cachix.org"
|
||||
];
|
||||
trusted-public-keys = [
|
||||
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
|
||||
|
|
@ -229,6 +237,8 @@ in
|
|||
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
||||
"cache.flakehub.com-3:hJuILl5sVK4iKm86JzgdXW12Y2Hwd5G07qKtHTOcDCM="
|
||||
"cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="
|
||||
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
|
||||
"rusic.cachix.org-1:WXMpGpamblLUiJtcoxBxGGGGwIcWxGPJBUxarLiqWmw="
|
||||
];
|
||||
};
|
||||
|
||||
|
|
@ -247,10 +257,14 @@ in
|
|||
#
|
||||
programs.dank-material-shell.greeter = {
|
||||
enable = true;
|
||||
compositor.name = "hyprland"; # Or "hyprland" or "sway"
|
||||
compositor.name = "hyprland"; # "niri" or "hyprland" or "sway"
|
||||
configHome = "/home/dan";
|
||||
};
|
||||
|
||||
services.logind.settings.Login = {
|
||||
HandlePowerKey = "suspend";
|
||||
};
|
||||
|
||||
#xdg.configFile."menus/applications.menu".text = builtins.readFile ./applications.menu;
|
||||
environment.etc."/xdg/menus/plasma-applications.menu".text =
|
||||
builtins.readFile "${pkgs.kdePackages.plasma-workspace}/etc/xdg/menus/plasma-applications.menu";
|
||||
|
|
@ -377,7 +391,7 @@ in
|
|||
kdePackages.kirigami
|
||||
kdePackages.kirigami-addons
|
||||
kdePackages.kirigami-addons.dev
|
||||
libsForQt5.appstream-qt
|
||||
# libsForQt5.appstream-qt
|
||||
libsForQt5.kcoreaddons
|
||||
libsForQt5.kirigami2
|
||||
kdePackages.syntax-highlighting
|
||||
|
|
@ -466,14 +480,19 @@ in
|
|||
services.cpupower-gui.enable = true;
|
||||
services.upower.enable = true;
|
||||
services.power-profiles-daemon.enable = false;
|
||||
# services.tlp = {
|
||||
# enable = true;
|
||||
# USB_DENYLIST = "04d9:a0b8";
|
||||
# };
|
||||
services.tlp = {
|
||||
enable = true;
|
||||
settings = {
|
||||
USB_DENYLIST = "04d9:a0b8";
|
||||
CPU_ENERGY_PERF_POLICY_ON_AC = "balance_power";
|
||||
CPU_ENERGY_PERF_POLICY_ON_BAT = "balance_power";
|
||||
};
|
||||
};
|
||||
powerManagement.enable = true;
|
||||
#powerManagement.powertop.enable = true;
|
||||
powerManagement.cpuFreqGovernor = "schedutil";
|
||||
services.thermald.enable = true;
|
||||
hardware.cpu.intel.updateMicrocode = true;
|
||||
|
||||
security.polkit.enable = true;
|
||||
|
||||
|
|
|
|||
339
flake.lock
339
flake.lock
|
|
@ -13,11 +13,11 @@
|
|||
"treefmt-nix": "treefmt-nix"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1771538093,
|
||||
"narHash": "sha256-PxHGpkpAHIQ+M4i+8KNXwEl9DYm2emm7W30I7qNdesE=",
|
||||
"lastModified": 1772265981,
|
||||
"narHash": "sha256-JoXciqQCwHdIvENurNwgc6jH1e/d5xcjn9ybYNe+YQI=",
|
||||
"owner": "mrshmllow",
|
||||
"repo": "affinity-nix",
|
||||
"rev": "1e6512bbe1669c88ca9ab34b24db290b06223c5b",
|
||||
"rev": "cd7bed5b72ceeb50b862c550cc16c6f1b11a2d84",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -91,11 +91,11 @@
|
|||
"nixpkgs": "nixpkgs_5"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1771277082,
|
||||
"narHash": "sha256-H9Q3R2mXFZxl1rrqzMOYWzv30WDbDkkAjSGcTe80ep0=",
|
||||
"lastModified": 1772039265,
|
||||
"narHash": "sha256-3TR+B2DmkkkIi/b0CE8PuKkmb2jgzdKrOPsIwdWhsM0=",
|
||||
"owner": "9001",
|
||||
"repo": "copyparty",
|
||||
"rev": "d68028890d690eefb18ac4bcf248818172883790",
|
||||
"rev": "7c60adc69c977fb4b75e31c576131b1379498c3f",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -111,11 +111,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1771177088,
|
||||
"narHash": "sha256-n6e4e0iHNwtdGOlkJlDR9lbFhYalLMuqeQ3jDfp1CaA=",
|
||||
"lastModified": 1771867960,
|
||||
"narHash": "sha256-7VK/R3ZkrSlk8WQlQxjP2BJl5PGNkgbPnd9jh/7xbTw=",
|
||||
"owner": "AvengeMedia",
|
||||
"repo": "danksearch",
|
||||
"rev": "3b3b79514acf349c166ae53db2225470a28be9e6",
|
||||
"rev": "55c58870c666a45eeb2fe34180eb886c34e68d0c",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -133,12 +133,12 @@
|
|||
"nixpkgs": "nixpkgs_7"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1771014593,
|
||||
"narHash": "sha256-NrCFwn20ewJwy/SZoREs+XylerizPCYP54n9qkr31/E=",
|
||||
"rev": "69b4ff80ae2bbdd1e3f02ccd76a5f2988b118ed2",
|
||||
"revCount": 397,
|
||||
"lastModified": 1771910357,
|
||||
"narHash": "sha256-ns+2FDFS2BUbT1CshCF0hLYyYR2BiTOQqCMHDoGFXUo=",
|
||||
"rev": "b0833008a670c5d1ad2d1afbd711c1bf101f5296",
|
||||
"revCount": 405,
|
||||
"type": "tarball",
|
||||
"url": "https://api.flakehub.com/f/pinned/DeterminateSystems/determinate/3.16.0/019c58b5-64dc-77f9-b913-8738b7d338cc/source.tar.gz"
|
||||
"url": "https://api.flakehub.com/f/pinned/DeterminateSystems/determinate/3.16.3/019c8e19-e7a4-7fe4-ad79-b4b5feefd24a/source.tar.gz"
|
||||
},
|
||||
"original": {
|
||||
"type": "tarball",
|
||||
|
|
@ -148,37 +148,37 @@
|
|||
"determinate-nixd-aarch64-darwin": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"narHash": "sha256-PUo0u1iNMB8eTlBNFMCW8/UAn1sGKGqsIYlXaDRhx00=",
|
||||
"narHash": "sha256-NK3YCWCmz9WYQtXTg5/VYNo+KrV/7P5rBYqVhkzWEv8=",
|
||||
"type": "file",
|
||||
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.16.0/macOS"
|
||||
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.16.3/macOS"
|
||||
},
|
||||
"original": {
|
||||
"type": "file",
|
||||
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.16.0/macOS"
|
||||
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.16.3/macOS"
|
||||
}
|
||||
},
|
||||
"determinate-nixd-aarch64-linux": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"narHash": "sha256-jiIWiM88xkEpBQeohSxhl83fn2xoZY0nFkrW6CUAIAI=",
|
||||
"narHash": "sha256-RtiD/ualuvKSZH04G5KpBd2D4tcr5pv//cU+CGnByKs=",
|
||||
"type": "file",
|
||||
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.16.0/aarch64-linux"
|
||||
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.16.3/aarch64-linux"
|
||||
},
|
||||
"original": {
|
||||
"type": "file",
|
||||
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.16.0/aarch64-linux"
|
||||
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.16.3/aarch64-linux"
|
||||
}
|
||||
},
|
||||
"determinate-nixd-x86_64-linux": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"narHash": "sha256-qF/NNdHwh3tAHrKIOz2FRq5Q8GcSMzJeEY/PFvGf5vo=",
|
||||
"narHash": "sha256-XDzjUdfsnWtANfAzd8GpLkuch1+3rHDGD2uKN93Fw6M=",
|
||||
"type": "file",
|
||||
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.16.0/x86_64-linux"
|
||||
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.16.3/x86_64-linux"
|
||||
},
|
||||
"original": {
|
||||
"type": "file",
|
||||
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.16.0/x86_64-linux"
|
||||
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.16.3/x86_64-linux"
|
||||
}
|
||||
},
|
||||
"dms": {
|
||||
|
|
@ -189,11 +189,11 @@
|
|||
"quickshell": "quickshell"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1771347696,
|
||||
"narHash": "sha256-O9NIJqfuSjwY//7OyFH3FqxRHe5M0vmmsXcryOi/bAE=",
|
||||
"lastModified": 1772034342,
|
||||
"narHash": "sha256-InX8kRyrpVL+MP/gW1qhH9tGtDx2z2gmJ9NfmvUJ35I=",
|
||||
"owner": "AvengeMedia",
|
||||
"repo": "DankMaterialShell",
|
||||
"rev": "dd4c41a6b2d90f3238f543d1cc54f5f062d685a6",
|
||||
"rev": "47b12d09fc8526f9c231de60848a41b5990b4a37",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -317,6 +317,22 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"flake-compat_6": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1767039857,
|
||||
"narHash": "sha256-vNpUSpF5Nuw8xvDLj2KCwwksIbjua2LZCqhV1LNRDns=",
|
||||
"owner": "NixOS",
|
||||
"repo": "flake-compat",
|
||||
"rev": "5edf11c44bc78a0d334f6334cdaf7d60d732daab",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"repo": "flake-compat",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"flake-parts": {
|
||||
"inputs": {
|
||||
"nixpkgs-lib": "nixpkgs-lib"
|
||||
|
|
@ -404,6 +420,24 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"flake-utils_3": {
|
||||
"inputs": {
|
||||
"systems": "systems_3"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1731533236,
|
||||
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
|
||||
"owner": "numtide",
|
||||
"repo": "flake-utils",
|
||||
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "numtide",
|
||||
"repo": "flake-utils",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"git-hooks": {
|
||||
"inputs": {
|
||||
"flake-compat": "flake-compat_2",
|
||||
|
|
@ -450,6 +484,29 @@
|
|||
"url": "https://flakehub.com/f/cachix/git-hooks.nix/0.1.941"
|
||||
}
|
||||
},
|
||||
"git-hooks_2": {
|
||||
"inputs": {
|
||||
"flake-compat": "flake-compat_6",
|
||||
"gitignore": "gitignore_3",
|
||||
"nixpkgs": [
|
||||
"nix-gaming",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1770726378,
|
||||
"narHash": "sha256-kck+vIbGOaM/dHea7aTBxdFYpeUl/jHOy5W3eyRvVx8=",
|
||||
"owner": "cachix",
|
||||
"repo": "git-hooks.nix",
|
||||
"rev": "5eaaedde414f6eb1aea8b8525c466dc37bba95ae",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "cachix",
|
||||
"repo": "git-hooks.nix",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"gitignore": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
|
|
@ -495,6 +552,28 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"gitignore_3": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"nix-gaming",
|
||||
"git-hooks",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1709087332,
|
||||
"narHash": "sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs=",
|
||||
"owner": "hercules-ci",
|
||||
"repo": "gitignore.nix",
|
||||
"rev": "637db329424fd7e46cf4185293b9cc8c88c95394",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "hercules-ci",
|
||||
"repo": "gitignore.nix",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"helium": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
|
|
@ -503,11 +582,11 @@
|
|||
"utils": "utils"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1771325388,
|
||||
"narHash": "sha256-rSSr7h/qbRwxEtcIUe3UlSvbQxPJ4eYI9J84ewGz60o=",
|
||||
"lastModified": 1772003810,
|
||||
"narHash": "sha256-FfaHvYDfcWZ+0ZPkWDVywkglmQjBq0DoIqzl7TH2hXc=",
|
||||
"owner": "schembriaiden",
|
||||
"repo": "helium-browser-nix-flake",
|
||||
"rev": "99d0cecff6778a71be1f2e325e0e645fd749a397",
|
||||
"rev": "9001c8ec8bb3a4b9103eca2f2fc707bda1401977",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -523,11 +602,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1771269455,
|
||||
"narHash": "sha256-BZ31eN5F99YH6vkc4AhzKGE+tJgJ52kl8f01K7wCs8w=",
|
||||
"lastModified": 1772380461,
|
||||
"narHash": "sha256-O3ukj3Bb3V0Tiy/4LUfLlBpWypJ9P0JeUgsKl2nmZZY=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "5f1d42a97b19803041434f66681d5c44c9ae62e3",
|
||||
"rev": "f140aa04d7d14f8a50ab27f3691b5766b17ae961",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -544,11 +623,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1771102945,
|
||||
"narHash": "sha256-e5NfW8NhC3qChR8bHVni/asrig/ZFzd1wzpq+cEE/tg=",
|
||||
"lastModified": 1772330611,
|
||||
"narHash": "sha256-UZjPc/d5XRxvjDbk4veAO4XFdvx6BUum2l40V688Xq8=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "ff5e5d882c51f9a032479595cbab40fd04f56399",
|
||||
"rev": "58fd7ff0eec2cda43e705c4c0585729ec471d400",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -717,11 +796,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1770899531,
|
||||
"narHash": "sha256-UBrWjh0DR8db60aLNkTnZTJ9F4kWK0Y7rUDNJC88W7A=",
|
||||
"lastModified": 1771865848,
|
||||
"narHash": "sha256-xwNa+1D8WPsDnJtUofDrtyDCZKZotbUymzV/R5s+M0I=",
|
||||
"owner": "hyprwm",
|
||||
"repo": "hyprland-plugins",
|
||||
"rev": "e03c34ccd51280a44ea6d1f5c040cd81ecca25ed",
|
||||
"rev": "b85a56b9531013c79f2f3846fd6ee2ff014b8960",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -946,11 +1025,11 @@
|
|||
"xwayland-satellite-unstable": "xwayland-satellite-unstable"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1771308899,
|
||||
"narHash": "sha256-kb/4oSHB261GOLhVGgrzTOqo/ImeCi/WS25q2ujtHGc=",
|
||||
"lastModified": 1772473001,
|
||||
"narHash": "sha256-vMhspzhj6M4hfqM/wLgPG81xQh2sN5x0N6a3rHp5ZRo=",
|
||||
"owner": "sodiboo",
|
||||
"repo": "niri-flake",
|
||||
"rev": "f3e98ba073bd7e2717a07d622f9b737c461a97b9",
|
||||
"rev": "475eb9fc8d1ffa906ac215e78e758a29597fcd5e",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -979,11 +1058,11 @@
|
|||
"niri-unstable": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1771305475,
|
||||
"narHash": "sha256-lqweVTwHhYc+9T33cysp38gVwxaibGJHriOPZXWyhCY=",
|
||||
"lastModified": 1772207631,
|
||||
"narHash": "sha256-Jkkg+KqshFO3CbTszVVpkKN2AOObYz+wMsM3ONo1z5g=",
|
||||
"owner": "YaLTeR",
|
||||
"repo": "niri",
|
||||
"rev": "a2a52911757cb3b497db9407592f9b4c439571ea",
|
||||
"rev": "e708f546153f74acf33eb183b3b2992587a701e5",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -1001,12 +1080,12 @@
|
|||
"nixpkgs-regression": "nixpkgs-regression"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1771010067,
|
||||
"narHash": "sha256-Itk88UC3CxjGjjAb20KI6KrM9tRoGEpbv996fXwAWGo=",
|
||||
"rev": "5c670e37e884c43e1da0405075c9b9c83d316a6c",
|
||||
"revCount": 24629,
|
||||
"lastModified": 1771906938,
|
||||
"narHash": "sha256-yMI4VhuahG1027I+x/xy0F5FUM7ntwB/hDouCmpwEb8=",
|
||||
"rev": "628d55ca372a6d9eb071804b589aaa8a6974807d",
|
||||
"revCount": 24688,
|
||||
"type": "tarball",
|
||||
"url": "https://api.flakehub.com/f/pinned/DeterminateSystems/nix-src/3.16.0/019c589d-45e9-7337-9ff0-a8d78fecf63f/source.tar.gz"
|
||||
"url": "https://api.flakehub.com/f/pinned/DeterminateSystems/nix-src/3.16.3/019c8e13-4542-7edc-9244-38a597d18258/source.tar.gz"
|
||||
},
|
||||
"original": {
|
||||
"type": "tarball",
|
||||
|
|
@ -1016,14 +1095,15 @@
|
|||
"nix-gaming": {
|
||||
"inputs": {
|
||||
"flake-parts": "flake-parts_3",
|
||||
"git-hooks": "git-hooks_2",
|
||||
"nixpkgs": "nixpkgs_10"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1771295873,
|
||||
"narHash": "sha256-BbzfAGRrEgvSn5p1k8G3FtBNte50JQ+YiBmy/zC/3NE=",
|
||||
"lastModified": 1772403236,
|
||||
"narHash": "sha256-CJBJgjqln/3rk2CoWG+kVpv6h3C3REUzqfxxxejjgZI=",
|
||||
"owner": "fufexan",
|
||||
"repo": "nix-gaming",
|
||||
"rev": "d39046b43da919faf235170f9cb321712468f907",
|
||||
"rev": "fc0cdc63784e700c17373df683ba09c90a771d5c",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -1060,11 +1140,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1771130777,
|
||||
"narHash": "sha256-UIKOwG0D9XVIJfNWg6+gENAvQP+7LO46eO0Jpe+ItJ0=",
|
||||
"lastModified": 1772341813,
|
||||
"narHash": "sha256-/PQ0ubBCMj/MVCWEI/XMStn55a8dIKsvztj4ZVLvUrQ=",
|
||||
"owner": "nix-community",
|
||||
"repo": "nix-index-database",
|
||||
"rev": "efec7aaad8d43f8e5194df46a007456093c40f88",
|
||||
"rev": "a2051ff239ce2e8a0148fa7a152903d9a78e854f",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -1073,13 +1153,28 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nix-monitor": {
|
||||
"locked": {
|
||||
"lastModified": 1771568669,
|
||||
"narHash": "sha256-lTbQ13lQ3ZPNkdnFmxAMGf1Gjx//80lDDlcJR8msREI=",
|
||||
"owner": "antonjah",
|
||||
"repo": "nix-monitor",
|
||||
"rev": "ef3db9d5a525ddf41355e8c456b40d56480a6626",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "antonjah",
|
||||
"repo": "nix-monitor",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixos-hardware": {
|
||||
"locked": {
|
||||
"lastModified": 1771257191,
|
||||
"narHash": "sha256-H1l+zHq+ZinWH7F1IidpJ2farmbfHXjaxAm1RKWE1KI=",
|
||||
"lastModified": 1771969195,
|
||||
"narHash": "sha256-qwcDBtrRvJbrrnv1lf/pREQi8t2hWZxVAyeMo7/E9sw=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixos-hardware",
|
||||
"rev": "66e1a090ded57a0f88e2b381a7d4daf4a5722c3f",
|
||||
"rev": "41c6b421bdc301b2624486e11905c9af7b8ec68e",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -1168,11 +1263,11 @@
|
|||
},
|
||||
"nixpkgs-stable": {
|
||||
"locked": {
|
||||
"lastModified": 1771208521,
|
||||
"narHash": "sha256-X01Q3DgSpjeBpapoGA4rzKOn25qdKxbPnxHeMLNoHTU=",
|
||||
"lastModified": 1772047000,
|
||||
"narHash": "sha256-7DaQVv4R97cii/Qdfy4tmDZMB2xxtyIvNGSwXBBhSmo=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "fa56d7d6de78f5a7f997b0ea2bc6efd5868ad9e8",
|
||||
"rev": "1267bb4920d0fc06ea916734c11b0bf004bbe17e",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -1184,11 +1279,11 @@
|
|||
},
|
||||
"nixpkgs-unstable": {
|
||||
"locked": {
|
||||
"lastModified": 1771008912,
|
||||
"narHash": "sha256-gf2AmWVTs8lEq7z/3ZAsgnZDhWIckkb+ZnAo5RzSxJg=",
|
||||
"lastModified": 1772433332,
|
||||
"narHash": "sha256-izhTDFKsg6KeVBxJS9EblGeQ8y+O8eCa6RcW874vxEc=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "a82ccc39b39b621151d6732718e3e250109076fa",
|
||||
"rev": "cf59864ef8aa2e178cccedbe2c178185b0365705",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -1216,11 +1311,11 @@
|
|||
},
|
||||
"nixpkgs_10": {
|
||||
"locked": {
|
||||
"lastModified": 1770843696,
|
||||
"narHash": "sha256-LovWTGDwXhkfCOmbgLVA10bvsi/P8eDDpRudgk68HA8=",
|
||||
"lastModified": 1772173633,
|
||||
"narHash": "sha256-MOH58F4AIbCkh6qlQcwMycyk5SWvsqnS/TCfnqDlpj4=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "2343bbb58f99267223bc2aac4fc9ea301a155a16",
|
||||
"rev": "c0f3d81a7ddbc2b1332be0d8481a672b4f6004d6",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -1232,11 +1327,11 @@
|
|||
},
|
||||
"nixpkgs_11": {
|
||||
"locked": {
|
||||
"lastModified": 1771008912,
|
||||
"narHash": "sha256-gf2AmWVTs8lEq7z/3ZAsgnZDhWIckkb+ZnAo5RzSxJg=",
|
||||
"lastModified": 1772433332,
|
||||
"narHash": "sha256-izhTDFKsg6KeVBxJS9EblGeQ8y+O8eCa6RcW874vxEc=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "a82ccc39b39b621151d6732718e3e250109076fa",
|
||||
"rev": "cf59864ef8aa2e178cccedbe2c178185b0365705",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -1248,11 +1343,27 @@
|
|||
},
|
||||
"nixpkgs_12": {
|
||||
"locked": {
|
||||
"lastModified": 1771008912,
|
||||
"narHash": "sha256-gf2AmWVTs8lEq7z/3ZAsgnZDhWIckkb+ZnAo5RzSxJg=",
|
||||
"lastModified": 1769461804,
|
||||
"narHash": "sha256-msG8SU5WsBUfVVa/9RPLaymvi5bI8edTavbIq3vRlhI=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "bfc1b8a4574108ceef22f02bafcf6611380c100d",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"ref": "nixos-unstable",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs_13": {
|
||||
"locked": {
|
||||
"lastModified": 1772198003,
|
||||
"narHash": "sha256-I45esRSssFtJ8p/gLHUZ1OUaaTaVLluNkABkk6arQwE=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "a82ccc39b39b621151d6732718e3e250109076fa",
|
||||
"rev": "dd9b079222d43e1943b6ebd802f04fd959dc8e61",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -1341,12 +1452,12 @@
|
|||
},
|
||||
"nixpkgs_7": {
|
||||
"locked": {
|
||||
"lastModified": 1770537093,
|
||||
"narHash": "sha256-pF1quXG5wsgtyuPOHcLfYg/ft/QMr8NnX0i6tW2187s=",
|
||||
"rev": "fef9403a3e4d31b0a23f0bacebbec52c248fbb51",
|
||||
"revCount": 942631,
|
||||
"lastModified": 1771177547,
|
||||
"narHash": "sha256-trTtk3WTOHz7hSw89xIIvahkgoFJYQ0G43IlqprFoMA=",
|
||||
"rev": "ac055f38c798b0d87695240c7b761b82fc7e5bc2",
|
||||
"revCount": 946843,
|
||||
"type": "tarball",
|
||||
"url": "https://api.flakehub.com/f/pinned/DeterminateSystems/nixpkgs-weekly/0.1.942631%2Brev-fef9403a3e4d31b0a23f0bacebbec52c248fbb51/019c4621-ce4f-799f-82f6-b3b29f099b09/source.tar.gz"
|
||||
"url": "https://api.flakehub.com/f/pinned/DeterminateSystems/nixpkgs-weekly/0.1.946843%2Brev-ac055f38c798b0d87695240c7b761b82fc7e5bc2/019c6a25-fd20-733f-936e-6487e2957fe4/source.tar.gz"
|
||||
},
|
||||
"original": {
|
||||
"type": "tarball",
|
||||
|
|
@ -1473,12 +1584,55 @@
|
|||
"niri": "niri",
|
||||
"nix-gaming": "nix-gaming",
|
||||
"nix-index-database": "nix-index-database",
|
||||
"nix-monitor": "nix-monitor",
|
||||
"nixos-hardware": "nixos-hardware",
|
||||
"nixpkgs": "nixpkgs_11",
|
||||
"nixpkgs-unstable": "nixpkgs-unstable",
|
||||
"rusic": "rusic",
|
||||
"zen-browser": "zen-browser"
|
||||
}
|
||||
},
|
||||
"rusic": {
|
||||
"inputs": {
|
||||
"flake-utils": "flake-utils_3",
|
||||
"nixpkgs": "nixpkgs_12",
|
||||
"rust-overlay": "rust-overlay"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1773739068,
|
||||
"narHash": "sha256-QMGLToP+SsIORMTiZnwqLyBNOxM+smhjpDhiX6TAfU4=",
|
||||
"owner": "temidaradev",
|
||||
"repo": "rusic",
|
||||
"rev": "70ef5666e334fdaf0b12c6d9349d1c0ed97b58b1",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "temidaradev",
|
||||
"repo": "rusic",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"rust-overlay": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"rusic",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1769828398,
|
||||
"narHash": "sha256-zmnvRUm15QrlKH0V1BZoiT3U+Q+tr+P5Osi8qgtL9fY=",
|
||||
"owner": "oxalica",
|
||||
"repo": "rust-overlay",
|
||||
"rev": "a1d32c90c8a4ea43e9586b7e5894c179d5747425",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "oxalica",
|
||||
"repo": "rust-overlay",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"stable": {
|
||||
"locked": {
|
||||
"lastModified": 1750133334,
|
||||
|
|
@ -1525,6 +1679,21 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"systems_3": {
|
||||
"locked": {
|
||||
"lastModified": 1681028828,
|
||||
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
||||
"owner": "nix-systems",
|
||||
"repo": "default",
|
||||
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-systems",
|
||||
"repo": "default",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"treefmt-nix": {
|
||||
"inputs": {
|
||||
"nixpkgs": "nixpkgs_3"
|
||||
|
|
@ -1628,11 +1797,11 @@
|
|||
"xwayland-satellite-unstable": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1771195969,
|
||||
"narHash": "sha256-BUE41HjLIGPjq3U8VXPjf8asH8GaMI7FYdgrIHKFMXA=",
|
||||
"lastModified": 1772429643,
|
||||
"narHash": "sha256-M+bAeCCcjBnVk6w/4dIVvXvpJwOKnXjwi/lDbaN6Yws=",
|
||||
"owner": "Supreeeme",
|
||||
"repo": "xwayland-satellite",
|
||||
"rev": "536bd32efc935bf876d6de385ec18a1b715c9358",
|
||||
"rev": "10f985b84cdbcc3bbf35b3e7e43d1b2a84fa9ce2",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -1644,14 +1813,14 @@
|
|||
"zen-browser": {
|
||||
"inputs": {
|
||||
"home-manager": "home-manager_2",
|
||||
"nixpkgs": "nixpkgs_12"
|
||||
"nixpkgs": "nixpkgs_13"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1771303996,
|
||||
"narHash": "sha256-cwf75uTx8cGJCP+nohi7iVTE+lmfevBxNgirkMLkuEY=",
|
||||
"lastModified": 1772426935,
|
||||
"narHash": "sha256-fLxV/FzP06eaoMFzwrnKk9x0b+kaNNjbFfp6+rsRKGs=",
|
||||
"owner": "0xc000022070",
|
||||
"repo": "zen-browser-flake",
|
||||
"rev": "a7659a805bda3ae8e4861572d8dc0f1d29f3fc3c",
|
||||
"rev": "6caef0bf5e38a793fd269333f000b7299b160900",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
|||
20
flake.nix
20
flake.nix
|
|
@ -4,6 +4,7 @@
|
|||
url = "github:AvengeMedia/DankMaterialShell/stable";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
rusic.url = "github:temidaradev/rusic";
|
||||
danksearch = {
|
||||
url = "github:AvengeMedia/danksearch";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
|
@ -48,6 +49,11 @@
|
|||
affinity-nix.url = "github:mrshmllow/affinity-nix";
|
||||
|
||||
copyparty.url = "github:9001/copyparty";
|
||||
|
||||
nix-monitor = {
|
||||
url = "github:antonjah/nix-monitor";
|
||||
# inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs =
|
||||
|
|
@ -64,6 +70,7 @@
|
|||
nix-gaming,
|
||||
nix-index-database,
|
||||
dms,
|
||||
nix-monitor,
|
||||
...
|
||||
}@attrs:
|
||||
{
|
||||
|
|
@ -106,6 +113,19 @@
|
|||
home-manager.users.dan = import ./home.nix;
|
||||
home-manager.backupFileExtension = "backup";
|
||||
}
|
||||
|
||||
# nix-monitor.nixosModules.default
|
||||
# {
|
||||
# programs.nix-monitor = {
|
||||
# enable = true;
|
||||
|
||||
# Required: customize for your setup
|
||||
# rebuildCommand = [
|
||||
# "bash" "-c"
|
||||
# "cd /home/dan/projects/dotfiles; nh os switch . 2>&1"
|
||||
# ];
|
||||
# };
|
||||
# }
|
||||
./configuration.nix
|
||||
# Import sysbox module
|
||||
./modules/sysbox.nix
|
||||
|
|
|
|||
19
home.nix
19
home.nix
|
|
@ -11,6 +11,8 @@
|
|||
niri,
|
||||
affinity-nix,
|
||||
inputs,
|
||||
nix-monitor,
|
||||
rusic,
|
||||
...
|
||||
}:
|
||||
let
|
||||
|
|
@ -28,6 +30,7 @@ in
|
|||
zen-browser.homeModules.beta
|
||||
dms.homeModules.dank-material-shell
|
||||
danksearch.homeModules.default
|
||||
nix-monitor.homeManagerModules.default
|
||||
# niri.homeManagerModules.default
|
||||
# dms.homeModules.niri
|
||||
];
|
||||
|
|
@ -35,7 +38,13 @@ in
|
|||
stateVersion = "25.11";
|
||||
|
||||
packages = with pkgs; [
|
||||
affinity-nix.packages.x86_64-linux.v3
|
||||
spacetimedb
|
||||
nixd
|
||||
buck2
|
||||
(rusic.packages.${system}.default)
|
||||
affine
|
||||
voxtype-onnx
|
||||
#affinity-nix.packages.x86_64-linux.v3
|
||||
biome
|
||||
bun
|
||||
lenovo-legion
|
||||
|
|
@ -52,7 +61,7 @@ in
|
|||
steam
|
||||
helium
|
||||
opencode
|
||||
linuxKernel.packages.linux_6_12.perf
|
||||
perf
|
||||
obs-studio
|
||||
flamegraph
|
||||
samply
|
||||
|
|
@ -354,6 +363,12 @@ in
|
|||
};
|
||||
};
|
||||
programs = {
|
||||
nix-monitor.enable = true;
|
||||
nix-monitor.rebuildCommand = [
|
||||
"bash"
|
||||
"-c"
|
||||
"cd /home/dan/projects/dotfiles; nh os switch ."
|
||||
];
|
||||
zen-browser.enable = true;
|
||||
fish = {
|
||||
enable = true;
|
||||
|
|
|
|||
|
|
@ -1,16 +1,23 @@
|
|||
|
||||
{ config, nix-index-database, pkgs, lib, name ? "eisen", copyparty, ... }:
|
||||
{
|
||||
config,
|
||||
nix-index-database,
|
||||
pkgs,
|
||||
lib,
|
||||
name ? "eisen",
|
||||
copyparty,
|
||||
...
|
||||
}:
|
||||
let
|
||||
# these are used both in service configuration but also to
|
||||
# create mappings {name}.eisen.danbulant.cloud to port in caddy
|
||||
ports = {
|
||||
"status" = 3001;
|
||||
"glance" = 5678;
|
||||
"copyparty" = 3210;
|
||||
"syncthing" = 8384;
|
||||
"gitea" = 3000;
|
||||
"immich" = 2283;
|
||||
"grafana" = 3002;
|
||||
# "copyparty" = 3210;
|
||||
# "syncthing" = 8384;
|
||||
# "gitea" = 3000;
|
||||
# "immich" = 2283;
|
||||
# "grafana" = 3002;
|
||||
"ntfy" = 3003;
|
||||
"suwayomi" = 3004;
|
||||
};
|
||||
|
|
@ -20,13 +27,13 @@ in
|
|||
buildOnTarget = true;
|
||||
};
|
||||
|
||||
nixpkgs.overlays = [ copyparty.overlays.default ];
|
||||
# nixpkgs.overlays = [ copyparty.overlays.default ];
|
||||
|
||||
programs.nix-index-database.comma.enable = true;
|
||||
|
||||
imports = [
|
||||
nix-index-database.nixosModules.nix-index
|
||||
copyparty.nixosModules.default
|
||||
# copyparty.nixosModules.default
|
||||
./hardware-configuration.nix
|
||||
];
|
||||
|
||||
|
|
@ -37,7 +44,7 @@ in
|
|||
|
||||
networking = {
|
||||
hostName = name;
|
||||
nameservers = ["1.1.1.1"];
|
||||
nameservers = [ "1.1.1.1" ];
|
||||
networkmanager.enable = true;
|
||||
};
|
||||
|
||||
|
|
@ -64,50 +71,50 @@ in
|
|||
avahi.enable = true;
|
||||
lldpd.enable = true;
|
||||
|
||||
syncthing = {
|
||||
enable = true;
|
||||
openDefaultPorts = true;
|
||||
settings = {
|
||||
gui = {
|
||||
insecureSkipHostCheck = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
copyparty = {
|
||||
enable = true;
|
||||
# syncthing = {
|
||||
# enable = true;
|
||||
# openDefaultPorts = true;
|
||||
# settings = {
|
||||
# gui = {
|
||||
# insecureSkipHostCheck = true;
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
|
||||
settings = {
|
||||
p = ports.copyparty;
|
||||
idp-hm-usr = "^X-Webauth-Login^danbulant@github^dan";
|
||||
rproxy = 1;
|
||||
xff-hdr = "X-Forwarded-For";
|
||||
ipu = [ "100.103.148.81/32=dan" /*"100.79.186.114/32=dan" "100.76.144.133/32=dan" "100.114.62.113/32=dan" */ ];
|
||||
};
|
||||
# copyparty = {
|
||||
# enable = true;
|
||||
|
||||
accounts = {
|
||||
dan = {
|
||||
passwordFile = "/dev/null";
|
||||
};
|
||||
};
|
||||
# settings = {
|
||||
# p = ports.copyparty;
|
||||
# idp-hm-usr = "^X-Webauth-Login^danbulant@github^dan";
|
||||
# rproxy = 1;
|
||||
# xff-hdr = "X-Forwarded-For";
|
||||
# ipu = [ "100.103.148.81/32=dan" /*"100.79.186.114/32=dan" "100.76.144.133/32=dan" "100.114.62.113/32=dan" */ ];
|
||||
# };
|
||||
|
||||
volumes = {
|
||||
"/" = {
|
||||
path = "/media/large";
|
||||
access = {
|
||||
rwa = [ "dan" ];
|
||||
r = [ "*" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
# accounts = {
|
||||
# dan = {
|
||||
# passwordFile = "/dev/null";
|
||||
# };
|
||||
# };
|
||||
|
||||
# volumes = {
|
||||
# "/" = {
|
||||
# path = "/media/large";
|
||||
# access = {
|
||||
# rwa = [ "dan" ];
|
||||
# r = [ "*" ];
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
|
||||
# openFilesLimit = 8192;
|
||||
# };
|
||||
|
||||
openFilesLimit = 8192;
|
||||
};
|
||||
|
||||
dnsmasq = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
|
||||
uptime-kuma = {
|
||||
enable = true;
|
||||
settings = {
|
||||
|
|
@ -115,23 +122,11 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
grafana = {
|
||||
enable = true;
|
||||
settings.server.http_port = ports.grafana;
|
||||
};
|
||||
prometheus.enable = true;
|
||||
|
||||
gitea = {
|
||||
enable = true;
|
||||
lfs = {
|
||||
enable = true;
|
||||
contentDir = "/media/large/gitea-lfs";
|
||||
};
|
||||
appName = "Eisen git";
|
||||
settings.server.DOMAIN = "gitea.eisen";
|
||||
settings.server.HTTP_PORT = ports.gitea;
|
||||
settings.server.ROOT_URL = "http://gitea.eisen/";
|
||||
};
|
||||
# grafana = {
|
||||
# enable = true;
|
||||
# settings.server.http_port = ports.grafana;
|
||||
# };
|
||||
# prometheus.enable = true;
|
||||
|
||||
suwayomi-server = {
|
||||
enable = true;
|
||||
|
|
@ -148,7 +143,7 @@ in
|
|||
# immich = {
|
||||
# enable = true;
|
||||
# };
|
||||
|
||||
|
||||
ntfy-sh = {
|
||||
enable = true;
|
||||
settings = {
|
||||
|
|
@ -207,13 +202,14 @@ in
|
|||
}) (builtins.attrNames ports)
|
||||
);
|
||||
};
|
||||
tailscale.permitCertUid = "caddy";
|
||||
tailscaleAuth = {
|
||||
# this is what's used above in forward_auth
|
||||
# this is what's used above in forward_auth
|
||||
enable = true;
|
||||
group = "caddy";
|
||||
};
|
||||
};
|
||||
systemd.services.syncthing.environment.STNODEFAULTFOLDER = "true";
|
||||
# systemd.services.syncthing.environment.STNODEFAULTFOLDER = "true";
|
||||
|
||||
virtualisation.docker = {
|
||||
enable = true;
|
||||
|
|
@ -250,13 +246,29 @@ in
|
|||
|
||||
users.users.dan = {
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "networkmanager" "wheel" "docker" "fuse" "video" "wireshark" "gamemode" "scanner" "lp" "kvm" "adbusers"];
|
||||
extraGroups = [
|
||||
"networkmanager"
|
||||
"wheel"
|
||||
"docker"
|
||||
"fuse"
|
||||
"video"
|
||||
"wireshark"
|
||||
"gamemode"
|
||||
"scanner"
|
||||
"lp"
|
||||
"kvm"
|
||||
"adbusers"
|
||||
];
|
||||
shell = pkgs.nushell;
|
||||
packages = with pkgs; [
|
||||
|
||||
|
||||
];
|
||||
};
|
||||
nix.settings.trusted-users = [ "root" "@wheel" "dan" ];
|
||||
nix.settings.trusted-users = [
|
||||
"root"
|
||||
"@wheel"
|
||||
"dan"
|
||||
];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
git
|
||||
|
|
@ -277,6 +289,7 @@ in
|
|||
httpie
|
||||
socat
|
||||
websocat
|
||||
oh-my-posh
|
||||
];
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
|
@ -299,9 +312,11 @@ in
|
|||
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
||||
system.stateVersion = "25.05"; # Did you read the comment?
|
||||
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
nix.settings.experimental-features = [
|
||||
"nix-command"
|
||||
"flakes"
|
||||
];
|
||||
|
||||
# /etc/hosts :)
|
||||
networking.extraHosts = ''
|
||||
'';
|
||||
networking.extraHosts = "";
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue