Compare commits

...

7 commits

Author SHA1 Message Date
5d19a2d303 zenix: update 2026-05-30 15:57:52 +01:00
d0cf50ccdb zenix: remove monado 2026-05-24 13:25:32 +01:00
a87bb2f9db zenix: update 2026-05-24 13:25:24 +01:00
33f4838d5c zenix: add bs-manager and grayjay 2026-04-22 17:32:00 +01:00
b5e1d0081c alpine: update authentik 2026-03-08 14:48:08 +00:00
1986f31d39 alpine: update 2026-03-08 13:47:02 +00:00
37c5ac2c41 alpine: nextcloud 32 2026-03-08 13:16:46 +00:00
12 changed files with 58 additions and 70 deletions

72
flake.lock generated
View file

@ -231,11 +231,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1772633058, "lastModified": 1779506708,
"narHash": "sha256-SO7JapRy2HPhgmqiLbfnW1kMx5rakPMKZ9z3wtRLQjI=", "narHash": "sha256-QOD/CNm196nCJRheux/URi4/HE66fthdOMqCJoPP1Y0=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "080657a04188aca25f8a6c70a0fb2ea7e37f1865", "rev": "3ee51fbdac8c8bdfe1e7e1fcaba6520a563f394f",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -278,11 +278,11 @@
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs"
}, },
"locked": { "locked": {
"lastModified": 1767232402, "lastModified": 1777848538,
"narHash": "sha256-li+h6crnhc5Zqs+M6pn7D7M0W9M63ECNennDjRgzioE=", "narHash": "sha256-Dj51C0NWsglqRrCpdmMr2nFiYacFOid1Tor4H9yG2HY=",
"owner": "musnix", "owner": "musnix",
"repo": "musnix", "repo": "musnix",
"rev": "d65f98e0b1f792365f1705653d7b2d266ceeff6e", "rev": "8548782f0d1d0928daa3fffde8a008f72219a3f3",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -303,11 +303,11 @@
"xwayland-satellite-unstable": "xwayland-satellite-unstable" "xwayland-satellite-unstable": "xwayland-satellite-unstable"
}, },
"locked": { "locked": {
"lastModified": 1772884214, "lastModified": 1779622619,
"narHash": "sha256-nl1U1E9Kk9ZmxWdqcwBuFaljxknbrwq8/bY+utQSajk=", "narHash": "sha256-CoyW4Uy3DEpI252S6vTV6/UeQ+6wsIHvi94ggC1Ev/E=",
"owner": "sodiboo", "owner": "sodiboo",
"repo": "niri-flake", "repo": "niri-flake",
"rev": "3fc5b3670ef77356173ca5f1fa5015e01204bc33", "rev": "f9e8b871f11137d4b9e15296ea134522dc7a7cb4",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -336,11 +336,11 @@
"niri-unstable": { "niri-unstable": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1772873827, "lastModified": 1779374863,
"narHash": "sha256-T1igKylw0ZX8+yws4dWbkrSc+hZ1bmsM+Tjs4lxMYgo=", "narHash": "sha256-qKWgJ2MUODpg+b8tOwWMdMKREvs8TdGBz63SHaQZCeA=",
"owner": "YaLTeR", "owner": "YaLTeR",
"repo": "niri", "repo": "niri",
"rev": "8f75d171b6017ed34043b1255ec4ffc374bf6ab0", "rev": "4294948cf1c70c50e938383c2c865d7ca455ac7e",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -351,11 +351,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1766902085, "lastModified": 1777268161,
"narHash": "sha256-coBu0ONtFzlwwVBzmjacUQwj3G+lybcZ1oeNSQkgC0M=", "narHash": "sha256-bxrdOn8SCOv8tN4JbTF/TXq7kjo9ag4M+C8yzzIRYbE=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "c0b0e0fddf73fd517c3471e546c0df87a42d53f4", "rev": "1c3fe55ad329cbcb28471bb30f05c9827f724c76",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -367,11 +367,11 @@
}, },
"nixpkgs-stable": { "nixpkgs-stable": {
"locked": { "locked": {
"lastModified": 1772822230, "lastModified": 1779467186,
"narHash": "sha256-yf3iYLGbGVlIthlQIk5/4/EQDZNNEmuqKZkQssMljuw=", "narHash": "sha256-nOesoDCiXcUftqbRBMz9tt4blI5PvljMWbm3kuCA+0s=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "71caefce12ba78d84fe618cf61644dce01cf3a96", "rev": "b77b3de8775677f84492abe84635f87b0e153f0f",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -383,11 +383,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1772822230, "lastModified": 1779467186,
"narHash": "sha256-yf3iYLGbGVlIthlQIk5/4/EQDZNNEmuqKZkQssMljuw=", "narHash": "sha256-nOesoDCiXcUftqbRBMz9tt4blI5PvljMWbm3kuCA+0s=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "71caefce12ba78d84fe618cf61644dce01cf3a96", "rev": "b77b3de8775677f84492abe84635f87b0e153f0f",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -398,11 +398,11 @@
}, },
"nixpkgs_3": { "nixpkgs_3": {
"locked": { "locked": {
"lastModified": 1772542754, "lastModified": 1778443072,
"narHash": "sha256-WGV2hy+VIeQsYXpsLjdr4GvHv5eECMISX1zKLTedhdg=", "narHash": "sha256-zi7/fsqM/kFdNuED//4WOCUtezGtKKqRNORjMvfwjnA=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "8c809a146a140c5c8806f13399592dbcb1bb5dc4", "rev": "da5ad661ba4e5ef59ba743f0d112cbc30e474f32",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -504,11 +504,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1772944399, "lastModified": 1777944972,
"narHash": "sha256-xTzsSd3r5HBeufSZ3fszAn0ldfKctvsYG7tT2YJg5gY=", "narHash": "sha256-VfGRo1qTBKOe3s2gOv8LSoA6Fk19PvBlwQ1ECN0Evn8=",
"owner": "Mic92", "owner": "Mic92",
"repo": "sops-nix", "repo": "sops-nix",
"rev": "c8e69670b316d6788e435a3aa0bda74eb1b82cc0", "rev": "c591bf665727040c6cc5cb409079acb22dcce33c",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -538,11 +538,11 @@
"tinted-zed": "tinted-zed" "tinted-zed": "tinted-zed"
}, },
"locked": { "locked": {
"lastModified": 1771788390, "lastModified": 1778680496,
"narHash": "sha256-RzBpBwn93GWxLjacTte+ngwwg0L/BVOg4G/sSIeK3Rw=", "narHash": "sha256-tUq1WASV0dHLv3j18log8V6Esq0NYkXuzNH2EHsstcg=",
"owner": "danth", "owner": "danth",
"repo": "stylix", "repo": "stylix",
"rev": "ebb238f14d6f930068be4718472da3105fd5d3bf", "rev": "fc5bec2e44678eeaa221d566d447a0257a884737",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -698,11 +698,11 @@
"xwayland-satellite-unstable": { "xwayland-satellite-unstable": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1772429643, "lastModified": 1779591853,
"narHash": "sha256-M+bAeCCcjBnVk6w/4dIVvXvpJwOKnXjwi/lDbaN6Yws=", "narHash": "sha256-osTG6d7BfV5CchHjETh3jcmZwDYrHpNcpAIyh1KyIs0=",
"owner": "Supreeeme", "owner": "Supreeeme",
"repo": "xwayland-satellite", "repo": "xwayland-satellite",
"rev": "10f985b84cdbcc3bbf35b3e7e43d1b2a84fa9ce2", "rev": "3273a0fccd71da21c6362c74f3b1d1c0a89ff3ba",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -716,11 +716,11 @@
"nixpkgs": "nixpkgs_3" "nixpkgs": "nixpkgs_3"
}, },
"locked": { "locked": {
"lastModified": 1772685307, "lastModified": 1778822459,
"narHash": "sha256-5xthZHeqwBeXNhnRIlxnCuaZLky0SZ6vQsxtd+eqhTU=", "narHash": "sha256-hJlFMK7Es783KU/mhLEGC+xim/EqBMVdbsWgthquo6Y=",
"owner": "youwen5", "owner": "youwen5",
"repo": "zen-browser-flake", "repo": "zen-browser-flake",
"rev": "dc92d88524ee83308795bc90f6a9f1d965265aaa", "rev": "90d4d395e2be09b2d314816dadd34660528c4ee4",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -54,11 +54,23 @@
./nixos/programs/personal.nix ./nixos/programs/personal.nix
./nixos/services/musnix.nix ./nixos/services/musnix.nix
./nixos/workstation.nix ./nixos/workstation.nix
# {
# services.monado = {
# enable = true;
# forceDefaultRuntime = true;
# highPriority = true;
# };
# systemd.user.services.monado.environment = {
# STEAMVR_LH_ENABLE = "true";
# # XRT_COMPOSITOR_SCALE_PERCENTAGE = "200";
# };
# }
]; ];
home-modules = [ home-modules = [
./home/programs/graphical.nix ./home/programs/graphical.nix
./home/programs/gamer.nix ./home/programs/gamer.nix
./home/programs/personal/. ./home/programs/personal/.
# ./home/programs/xr.nix
]; ];
}; };

View file

@ -16,7 +16,6 @@
home.homeDirectory = "/home/${config.home.username}"; home.homeDirectory = "/home/${config.home.username}";
xdg.userDirs.enable = true; xdg.userDirs.enable = true;
xdg.mimeApps.enable = true;
manual.html.enable = true; manual.html.enable = true;

View file

@ -16,7 +16,7 @@ in {
xdg.portal = { xdg.portal = {
enable = true; enable = true;
configPackages = [pkgs.hyprland]; configPackages = [pkgs.hyprland];
extraPortals = [pkgs.xdg-desktop-portal-gtk pkgs.xdg-desktop-portal-wlr]; extraPortals = [pkgs.xdg-desktop-portal-gtk];
}; };
wayland.windowManager.hyprland = { wayland.windowManager.hyprland = {

View file

@ -2,7 +2,7 @@
home.packages = with pkgs; [ home.packages = with pkgs; [
# Games # Games
airshipper airshipper
luanti # luanti
superTuxKart superTuxKart
xonotic xonotic
@ -11,7 +11,7 @@
gamescope gamescope
gamemode gamemode
mangohud mangohud
# BeatSaberModManager - out of date: https://github.com/NixOS/nixpkgs/pull/339370 bs-manager
protontricks protontricks
protonup-qt protonup-qt
oversteer oversteer

View file

@ -32,6 +32,7 @@
inputs.zen-browser.packages.x86_64-linux.default inputs.zen-browser.packages.x86_64-linux.default
brave brave
# grayjay
]; ];
programs.obs-studio = { programs.obs-studio = {
@ -54,5 +55,4 @@
"file:///$HOME/Downloads" "file:///$HOME/Downloads"
]; ];
}; };
} }

View file

@ -1,9 +0,0 @@
{pkgs, ...}: {
home.packages = with pkgs; [
pcmanfm
];
xdg.mimeApps.defaultApplications = {
"inode/directory" = "pcmanfm.desktop";
};
}

View file

@ -1,9 +1,5 @@
{ {
home.sessionVariables.BROWSER = "qutebrowser"; home.sessionVariables.BROWSER = "qutebrowser";
xdg.mimeApps.defaultApplications = {
"application/xhtml+xml" = "org.qutebrowser.qutebrowser.desktop";
"text/html" = "org.qutebrowser.qutebrowser.desktop";
};
programs.qutebrowser = { programs.qutebrowser = {
enable = true; enable = true;
searchEngines = { searchEngines = {

View file

@ -7,7 +7,7 @@
openxr-loader openxr-loader
opencomposite opencomposite
]; ];
services.monado.enable = true; # services.monado.enable = true;
systemd.user.services.monado.environment = { systemd.user.services.monado.environment = {
STEAMVR_LH_ENABLE = "true"; STEAMVR_LH_ENABLE = "true";
XRT_COMPOSITOR_SCALE_PERCENTAGE = "200"; XRT_COMPOSITOR_SCALE_PERCENTAGE = "200";

View file

@ -1,7 +1,6 @@
{config, ...}: let {config, ...}: let
inherit (config) sops; inherit (config) sops;
inherit (sops) templates placeholder; inherit (sops) templates placeholder;
redis_port = "6380";
authentik_port = "8084"; authentik_port = "8084";
postgres = { postgres = {
user = "authentik"; user = "authentik";
@ -10,19 +9,17 @@
}; };
authentik-config = { authentik-config = {
autoStart = true; autoStart = true;
image = "ghcr.io/goauthentik/server:2025.8.4"; image = "ghcr.io/goauthentik/server:2026.2.1";
volumes = ["/home/tristan/pods/authentik/media:/media"]; volumes = ["/home/tristan/pods/authentik/media:/media"];
environment = { environment = {
AUTHENTIK_POSTGRESQL__USER = postgres.user; AUTHENTIK_POSTGRESQL__USER = postgres.user;
AUTHENTIK_POSTGRESQL__HOST = "192.168.1.2"; AUTHENTIK_POSTGRESQL__HOST = "192.168.1.2";
AUTHENTIK_POSTGRESQL__PORT = postgres.port; AUTHENTIK_POSTGRESQL__PORT = postgres.port;
AUTHENTIK_REDIS__HOST = "192.168.1.2";
AUTHENTIK_REDIS__PORT = redis_port;
AUTHENTIK_EMAIL__FROM = "Authentik <tristan@tristans.cloud>"; AUTHENTIK_EMAIL__FROM = "Authentik <tristan@tristans.cloud>";
AUTHENTIK_DEFAULT_USER_CHANGE_USERNAME = "false"; AUTHENTIK_DEFAULT_USER_CHANGE_USERNAME = "false";
}; };
environmentFiles = [templates."authentik/environment".path]; environmentFiles = [templates."authentik/environment".path];
dependsOn = ["authentik-redis" "authentik-postgres"]; dependsOn = ["authentik-postgres"];
}; };
in { in {
sops.secrets = { sops.secrets = {
@ -53,13 +50,6 @@ in {
}; };
}; };
virtualisation.oci-containers.containers = { virtualisation.oci-containers.containers = {
authentik-redis = {
autoStart = true;
image = "redis:7.2-alpine";
ports = ["${redis_port}:6379"];
volumes = ["authentik-redis:/data"];
};
authentik-server = authentik-server =
authentik-config authentik-config
// { // {

View file

@ -61,7 +61,7 @@ in {
{ {
name = "synapse"; name = "synapse";
url = "https://raw.githubusercontent.com/element-hq/synapse/refs/heads/master/contrib/grafana/synapse.json"; url = "https://raw.githubusercontent.com/element-hq/synapse/refs/heads/master/contrib/grafana/synapse.json";
sha256 = "sha256:1lhhhzjm1rj25gg6dnmgwaxr05f8p2ndrlygdnjqzam7s6y75db3"; sha256 = "sha256:1hn05wwv38pi1s2j3bdsfs46jb2wjrz6ji5jq6x1dl89nkvmdfhv";
} }
]; ];
} }

View file

@ -28,7 +28,7 @@ in {
services.nextcloud = { services.nextcloud = {
enable = true; enable = true;
https = true; https = true;
package = pkgs.nextcloud31; package = pkgs.nextcloud32;
hostName = "files.${config.networking.domain}"; hostName = "files.${config.networking.domain}";
configureRedis = true; configureRedis = true;
database.createLocally = true; database.createLocally = true;
@ -83,9 +83,9 @@ in {
previewgenerator previewgenerator
deck deck
news news
oidc_login
recognize recognize
; ;
# inherit (pkgs.nextcloud33.packages.apps) oidc_login;
}; };
maxUploadSize = "5G"; maxUploadSize = "5G";
}; };