Compare commits

...

9 commits

Author SHA1 Message Date
19b00da8a9 disable xdg 2026-01-10 18:26:09 +01:00
de86a5298a disable openrazer driver 2026-01-10 18:25:20 +01:00
695624b2a7 update flake inputs 2026-01-10 18:24:38 +01:00
85fe3e731e use wlr portal 2026-01-10 17:55:27 +01:00
a3e1eee22e move quickshell config 2026-01-10 17:54:41 +01:00
1cf7f41a69 fix quickshell tray right click stupidly 2026-01-07 22:44:39 +01:00
772f030c79 update todo 2026-01-05 22:08:09 +01:00
ac35791366 add todo 2026-01-05 20:34:00 +01:00
4be4bfe67c fix containers 2025-12-21 17:11:54 +01:00
10 changed files with 152 additions and 102 deletions

View file

@ -5,7 +5,7 @@
}: }:
{ {
options.settings.containers.lidarr = { options.settings.containers.lidarr = {
enable = lib.mkEnableOption "enable lidarr arion container"; enable = lib.mkEnableOption "enable lidarr container";
}; };
config = lib.mkIf config.settings.containers.lidarr.enable { config = lib.mkIf config.settings.containers.lidarr.enable {
@ -33,34 +33,5 @@
services.lidarr.openFirewall = true; services.lidarr.openFirewall = true;
}; };
}; };
# virtualisation.arion.projects.lidarr = {
# settings = {
# project.name = "lidarr";
# services.lidarr = {
# service.useHostStore = true;
# nixos.useSystemd = true;
# nixos.configuration =
# { lib, ... }:
# {
# boot.isContainer = true;
# boot.tmp.useTmpfs = true;
# networking.useDHCP = false;
# services.nscd.enable = false;
# system.nssModules = lib.mkForce [ ];
# services.lidarr.enable = true;
# services.lidarr.openFirewall = true;
# services.lidarr.dataDir = "/config";
# services.lidarr.user = "root";
# };
# service.ports = [ "8686:8686" ];
# service.volumes = [
# "/config/lidarr:/config"
# "/data:/data"
# ];
# };
# };
# };
}; };
} }

View file

@ -23,11 +23,13 @@
]; ];
service.volumes = [ service.volumes = [
"/config/qbittorrent:/config" "/config/qbittorrent:/config"
"/data/torrents:/torrents" "/data/torrents:/data/torrents"
]; ];
service.environment = { service.environment = {
WEBUI_PORT = 8080; WEBUI_PORT = 8080;
TORRENTING_PORT = 6881; TORRENTING_PORT = 6881;
PUID = 0;
PGID = 0;
}; };
}; };
}; };

130
flake.lock generated
View file

@ -9,11 +9,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1759632323, "lastModified": 1767581175,
"narHash": "sha256-TzLTfXxhOkR/8oOoVEAYQWb81ADGHdKsQXGicC7kR+M=", "narHash": "sha256-d9ztdDD4EIbsGbERzXhg6Vlo7zMChjpZci4IrS0hSAY=",
"owner": "hercules-ci", "owner": "hercules-ci",
"repo": "arion", "repo": "arion",
"rev": "24658a03be2d1a6e1e02c01524775d960a82309c", "rev": "3534dd9d0f32c7dbee4f87378d4c95ffcd8838c5",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -43,28 +43,28 @@
"base16-fish": { "base16-fish": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1754405784, "lastModified": 1765809053,
"narHash": "sha256-l9xHIy+85FN+bEo6yquq2IjD1rSg9fjfjpyGP1W8YXo=", "narHash": "sha256-XCUQLoLfBJ8saWms2HCIj4NEN+xNsWBlU1NrEPcQG4s=",
"owner": "tomyun", "owner": "tomyun",
"repo": "base16-fish", "repo": "base16-fish",
"rev": "23ae20a0093dca0d7b39d76ba2401af0ccf9c561", "rev": "86cbea4dca62e08fb7fd83a70e96472f92574782",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "tomyun", "owner": "tomyun",
"repo": "base16-fish", "repo": "base16-fish",
"rev": "23ae20a0093dca0d7b39d76ba2401af0ccf9c561", "rev": "86cbea4dca62e08fb7fd83a70e96472f92574782",
"type": "github" "type": "github"
} }
}, },
"base16-helix": { "base16-helix": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1752979451, "lastModified": 1760703920,
"narHash": "sha256-0CQM+FkYy0fOO/sMGhOoNL80ftsAzYCg9VhIrodqusM=", "narHash": "sha256-m82fGUYns4uHd+ZTdoLX2vlHikzwzdu2s2rYM2bNwzw=",
"owner": "tinted-theming", "owner": "tinted-theming",
"repo": "base16-helix", "repo": "base16-helix",
"rev": "27cf1e66e50abc622fb76a3019012dc07c678fac", "rev": "d646af9b7d14bff08824538164af99d0c521b185",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -93,11 +93,11 @@
"firefox-gnome-theme": { "firefox-gnome-theme": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1758112371, "lastModified": 1764873433,
"narHash": "sha256-lizRM2pj6PHrR25yimjyFn04OS4wcdbc38DCdBVa2rk=", "narHash": "sha256-1XPewtGMi+9wN9Ispoluxunw/RwozuTRVuuQOmxzt+A=",
"owner": "rafaelmardojai", "owner": "rafaelmardojai",
"repo": "firefox-gnome-theme", "repo": "firefox-gnome-theme",
"rev": "0909cfe4a2af8d358ad13b20246a350e14c2473d", "rev": "f7ffd917ac0d253dbd6a3bf3da06888f57c69f92",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -114,11 +114,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1759362264, "lastModified": 1765835352,
"narHash": "sha256-wfG0S7pltlYyZTM+qqlhJ7GMw2fTF4mLKCIVhLii/4M=", "narHash": "sha256-XswHlK/Qtjasvhd1nOa1e8MgZ8GS//jBoTqWtrS1Giw=",
"owner": "hercules-ci", "owner": "hercules-ci",
"repo": "flake-parts", "repo": "flake-parts",
"rev": "758cf7296bee11f1706a574c77d072b8a7baa881", "rev": "a34fae9c08a15ad73f295041fec82323541400a9",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -135,11 +135,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1756770412, "lastModified": 1767609335,
"narHash": "sha256-+uWLQZccFHwqpGqr2Yt5VsW/PbeJVTn9Dk6SHWhNRPw=", "narHash": "sha256-feveD98mQpptwrAEggBQKJTYbvwwglSbOv53uCfH9PY=",
"owner": "hercules-ci", "owner": "hercules-ci",
"repo": "flake-parts", "repo": "flake-parts",
"rev": "4524271976b625a4a605beefd893f270620fd751", "rev": "250481aafeb741edfe23d29195671c19b36b6dca",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -168,11 +168,11 @@
"flake": false, "flake": false,
"locked": { "locked": {
"host": "gitlab.gnome.org", "host": "gitlab.gnome.org",
"lastModified": 1762869044, "lastModified": 1767737596,
"narHash": "sha256-nwm/GJ2Syigf7VccLAZ66mFC8mZJFqpJmIxSGKl7+Ds=", "narHash": "sha256-eFujfIUQDgWnSJBablOuG+32hCai192yRdrNHTv0a+s=",
"owner": "GNOME", "owner": "GNOME",
"repo": "gnome-shell", "repo": "gnome-shell",
"rev": "680e3d195a92203f28d4bf8c6e8bb537cc3ed4ad", "rev": "ef02db02bf0ff342734d525b5767814770d85b49",
"type": "gitlab" "type": "gitlab"
}, },
"original": { "original": {
@ -207,11 +207,11 @@
"rust-overlay": "rust-overlay" "rust-overlay": "rust-overlay"
}, },
"locked": { "locked": {
"lastModified": 1762973522, "lastModified": 1767943678,
"narHash": "sha256-CFyvvZvKDkTFF7niIQp5hhks5OR1u10H3e89chURCkg=", "narHash": "sha256-tg16bbDEkv1rJWe8v1n1CJFi2Fgxuee6b3c4KbLivY4=",
"owner": "helix-editor", "owner": "helix-editor",
"repo": "helix", "repo": "helix",
"rev": "948ac05aa0db64e0e5d00710db36eb244076e988", "rev": "10f07d7eb089430930e6d3547a98b440b927d025",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -227,11 +227,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1763228015, "lastModified": 1768065415,
"narHash": "sha256-1rYieMVUyZ3kK/cBIr8mOusxrOEJ1/+2MsOg0oJ7b3A=", "narHash": "sha256-GFwoRFzCP5vpT/tdO/Y6/799gb9OIAV9cOBPVM0Kq54=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "96156a9e86281c4bfc451236bc2ddfe4317e6f39", "rev": "d0aefc169fa9a0bd2b1239aeb98899c77d6da5b2",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -252,11 +252,11 @@
"xwayland-satellite-unstable": "xwayland-satellite-unstable" "xwayland-satellite-unstable": "xwayland-satellite-unstable"
}, },
"locked": { "locked": {
"lastModified": 1763286362, "lastModified": 1768056313,
"narHash": "sha256-KPQWFSoObIndZ2jGShk2KL9lEwIMysLwBsHJpiJz55w=", "narHash": "sha256-2jx5DeIZ4jsOtBGZEopeY3nqbDhnSyBVy6BKV5YO7yE=",
"owner": "sodiboo", "owner": "sodiboo",
"repo": "niri-flake", "repo": "niri-flake",
"rev": "024550217d69bb1afaf3ae8d808ce767cda1f15f", "rev": "07882a2c8130ce0addb6c1388f907780855e8eac",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -285,11 +285,11 @@
"niri-unstable": { "niri-unstable": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1763280630, "lastModified": 1768049147,
"narHash": "sha256-2nCZp70LNGzfrx9J8D5G9uRHo8YufQ1tVVdbzRbhCIc=", "narHash": "sha256-ZR4bY+cF1Nm0PJx0xJWwl5Pf9ku8baUgvbD+d2Q3X1w=",
"owner": "YaLTeR", "owner": "YaLTeR",
"repo": "niri", "repo": "niri",
"rev": "2652efe9dbee60b9172adda37a17c59b069288cb", "rev": "45fc76328145e0bf91b13edb7a43ac1f5770cb48",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -305,11 +305,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1763258556, "lastModified": 1768025207,
"narHash": "sha256-TWgLZJWn0aBAzu8By3y+OUoFsfOvy1AmIduR5G6QpSE=", "narHash": "sha256-+32x+zJ1ys2VJ1SUiwnImgsaHZdlPCMdlzz09kt5v9I=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nix-vscode-extensions", "repo": "nix-vscode-extensions",
"rev": "2ad9c9778431846e4d506ced079b638ad4e25806", "rev": "6ec1985c13c5ea9ee5ae0a4971df04ac798682e0",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -320,11 +320,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1762977756, "lastModified": 1767892417,
"narHash": "sha256-4PqRErxfe+2toFJFgcRKZ0UI9NSIOJa+7RXVtBhy4KE=", "narHash": "sha256-dhhvQY67aboBk8b0/u0XB6vwHdgbROZT3fJAjyNh5Ww=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "c5ae371f1a6a7fd27823bc500d9390b38c05fa55", "rev": "3497aa5c9457a9d88d71fa93a4a8368816fbeeba",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -336,16 +336,16 @@
}, },
"nixpkgs-stable": { "nixpkgs-stable": {
"locked": { "locked": {
"lastModified": 1763049705, "lastModified": 1767799921,
"narHash": "sha256-A5LS0AJZ1yDPTa2fHxufZN++n8MCmtgrJDtxFxrH4S8=", "narHash": "sha256-r4GVX+FToWVE2My8VVZH4V0pTIpnu2ZE8/Z4uxGEMBE=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "3acb677ea67d4c6218f33de0db0955f116b7588c", "rev": "d351d0653aeb7877273920cd3e823994e7579b0b",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "NixOS", "owner": "NixOS",
"ref": "nixos-25.05", "ref": "nixos-25.11",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }
@ -362,11 +362,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1758998580, "lastModified": 1767810917,
"narHash": "sha256-VLx0z396gDCGSiowLMFz5XRO/XuNV+4EnDYjdJhHvUk=", "narHash": "sha256-ZKqhk772+v/bujjhla9VABwcvz+hB2IaRyeLT6CFnT0=",
"owner": "nix-community", "owner": "nix-community",
"repo": "NUR", "repo": "NUR",
"rev": "ba8d9c98f5f4630bcb0e815ab456afd90c930728", "rev": "dead29c804adc928d3a69dfe7f9f12d0eec1f1a4",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -429,11 +429,11 @@
"tinted-zed": "tinted-zed" "tinted-zed": "tinted-zed"
}, },
"locked": { "locked": {
"lastModified": 1763245881, "lastModified": 1767903301,
"narHash": "sha256-0q+4x1Gx3AMIRV8MIN2/WOJOAVMtfqnkY1m3k0iIDkI=", "narHash": "sha256-h7HUP2xjbwjXb+DvAxIH6R9G1RdGCAQao8zCw3jj+yY=",
"owner": "danth", "owner": "danth",
"repo": "stylix", "repo": "stylix",
"rev": "29dc3dd858c507bfd1038716197f84f40e41f28d", "rev": "2b727da436910c4a59b5fd2401609bd5cb7ec64a",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -493,11 +493,11 @@
"tinted-schemes": { "tinted-schemes": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1757716333, "lastModified": 1767710407,
"narHash": "sha256-d4km8W7w2zCUEmPAPUoLk1NlYrGODuVa3P7St+UrqkM=", "narHash": "sha256-+W1EB79Jl0/gm4JqmO0Nuc5C7hRdp4vfsV/VdzI+des=",
"owner": "tinted-theming", "owner": "tinted-theming",
"repo": "schemes", "repo": "schemes",
"rev": "317a5e10c35825a6c905d912e480dfe8e71c7559", "rev": "2800e2b8ac90f678d7e4acebe4fa253f602e05b2",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -509,11 +509,11 @@
"tinted-tmux": { "tinted-tmux": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1757811970, "lastModified": 1767489635,
"narHash": "sha256-n5ZJgmzGZXOD9pZdAl1OnBu3PIqD+X3vEBUGbTi4JiI=", "narHash": "sha256-e6nnFnWXKBCJjCv4QG4bbcouJ6y3yeT70V9MofL32lU=",
"owner": "tinted-theming", "owner": "tinted-theming",
"repo": "tinted-tmux", "repo": "tinted-tmux",
"rev": "d217ba31c846006e9e0ae70775b0ee0f00aa6b1e", "rev": "3c32729ccae99be44fe8a125d20be06f8d7d8184",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -525,11 +525,11 @@
"tinted-zed": { "tinted-zed": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1757811247, "lastModified": 1767488740,
"narHash": "sha256-4EFOUyLj85NRL3OacHoLGEo0wjiRJzfsXtR4CZWAn6w=", "narHash": "sha256-wVOj0qyil8m+ouSsVZcNjl5ZR+1GdOOAooAatQXHbuU=",
"owner": "tinted-theming", "owner": "tinted-theming",
"repo": "base16-zed", "repo": "base16-zed",
"rev": "824fe0aacf82b3c26690d14e8d2cedd56e18404e", "rev": "11abb0b282ad3786a2aae088d3a01c60916f2e40",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -545,11 +545,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1762938485, "lastModified": 1768031762,
"narHash": "sha256-AlEObg0syDl+Spi4LsZIBrjw+snSVU4T8MOeuZJUJjM=", "narHash": "sha256-b2gJDJfi+TbA7Hu2sKip+1mWqya0GJaWrrXQjpbOVTU=",
"owner": "numtide", "owner": "numtide",
"repo": "treefmt-nix", "repo": "treefmt-nix",
"rev": "5b4ee75aeefd1e2d5a1cc43cf6ba65eba75e83e4", "rev": "0c445aa21b01fd1d4bb58927f7b268568af87b20",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -578,11 +578,11 @@
"xwayland-satellite-unstable": { "xwayland-satellite-unstable": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1762747449, "lastModified": 1767932953,
"narHash": "sha256-Z1TKiux8K09a93w4PFDFsj8HFugXNy3iCC3Z8MpR5Rk=", "narHash": "sha256-V8+DrPOp940J6icERAaGuDQTKyEyZzFuRw363XwDKXg=",
"owner": "Supreeeme", "owner": "Supreeeme",
"repo": "xwayland-satellite", "repo": "xwayland-satellite",
"rev": "6338574bc5c036487486acde264f38f39ea15fad", "rev": "bc47ef59501556fc2584155ddef76493752dd727",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -62,6 +62,12 @@
users.extraUsers.veneficium.extraGroups = [ "podman" ]; users.extraUsers.veneficium.extraGroups = [ "podman" ];
xdg.autostart.enable = false;
xdg.icons.enable = false;
xdg.menus.enable = false;
xdg.mime.enable = false;
xdg.sounds.enable = false;
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
nano nano
lshw lshw

View file

@ -75,7 +75,7 @@
drivers = { drivers = {
printer.M2020.enable = lib.mkForce true; printer.M2020.enable = lib.mkForce true;
ipod.enable = lib.mkForce true; ipod.enable = lib.mkForce true;
openrazer.enable = lib.mkForce true; openrazer.enable = lib.mkForce false;
gpu.amd.enable = lib.mkForce true; gpu.amd.enable = lib.mkForce true;
}; };

View file

@ -17,10 +17,10 @@
programs.quickshell = { programs.quickshell = {
enable = true; enable = true;
configs = { # configs = {
"default" = ./shell.qml; # "default" = ./shell.qml;
}; # };
activeConfig = "default"; # activeConfig = "default";
}; };
services.mako = { services.mako = {

View file

@ -0,0 +1,10 @@
{ ... }:
{
programs.quickshell = {
enable = true;
configs = {
"default" = ./shell.qml;
};
activeConfig = "default";
};
}

View file

@ -1,3 +1,4 @@
//@ pragma UseQApplication
import Quickshell import Quickshell
import QtQuick import QtQuick
import QtQuick.Layouts import QtQuick.Layouts
@ -55,12 +56,24 @@ PanelWindow {
id: hover_handler id: hover_handler
} }
PopupWindow {
id: menu_parent
anchor.item: tray_item
anchor.rect.y: tray_item.height
anchor.rect.x: tray_item.width
visible: true
implicitWidth: 1
implicitHeight: 1
color: "transparent"
}
TapHandler { TapHandler {
acceptedButtons: Qt.LeftButton | Qt.RightButton
onTapped: (eventPoint, button) => { onTapped: (eventPoint, button) => {
if (button == 1) { if (button == 1) {
tray_item.modelData.activate(); tray_item.modelData.activate();
} else { } else {
tray_item.modelData.display(label, 0, 0); tray_item.modelData.display(menu_parent, 0, 0);
} }
} }
} }

View file

@ -16,6 +16,42 @@
gtk.iconCache.enable = true; gtk.iconCache.enable = true;
xdg.portal = {
enable = true;
xdgOpenUsePortal = true;
wlr.enable = true;
config = {
common = {
default = [
"gtk"
"wlr"
];
};
niri = {
default = [
"gtk"
"wlr"
];
};
};
};
xdg.portal.extraPortals = [
pkgs.xdg-desktop-portal-wlr
pkgs.xdg-desktop-portal-gtk
];
systemd.user.services.xdg-desktop-portal = {
after = [ "xdg-desktop-autostart.target" ];
};
systemd.user.services.xdg-desktop-portal-gtk = {
after = [ "xdg-desktop-autostart.target" ];
};
systemd.user.services.xdg-desktop-portal-gnome = {
after = [ "xdg-desktop-autostart.target" ];
};
systemd.user.services.niri-flake-polkit = {
after = [ "xdg-desktop-autostart.target" ];
};
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
swayosd swayosd
wl-clipboard wl-clipboard

12
todo Normal file
View file

@ -0,0 +1,12 @@
- setup secrets management
laptop
- switch to ly
- config firefox
- finish quickshell
- finish packaging gbdk
server
- setup disko
- setup impermenance
- move to nixos containters