Compare commits

...

4 commits

Author SHA1 Message Date
müde
3c8024045e damocles: longer timeout to prevent namespace breakage 2026-04-17 12:39:45 +02:00
müde
ad0844356f nix flake update 2026-04-16 21:13:24 +02:00
müde
61b054463d fix system deprecated 2026-04-13 10:22:22 +02:00
müde
c87d351456 also replace swaync with nova-shell 2026-04-12 23:57:00 +02:00
4 changed files with 36 additions and 33 deletions

56
flake.lock generated
View file

@ -332,11 +332,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1769799857, "lastModified": 1776200608,
"narHash": "sha256-88IFXZ7Sa1vxbz5pty0Io5qEaMQMMUPMonLa3Ls/ss4=", "narHash": "sha256-broZ6RFQr4Fv0wT73gGmzNX14A43TmTFF8g4wDKlNss=",
"owner": "nix-community", "owner": "nix-community",
"repo": "naersk", "repo": "naersk",
"rev": "9d4ed44d8b8cecdceb1d6fd76e74123d90ae6339", "rev": "8b23250ab45c2a38cd91031aee26478ca4d0a28e",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -359,11 +359,11 @@
"xwayland-satellite-unstable": "xwayland-satellite-unstable" "xwayland-satellite-unstable": "xwayland-satellite-unstable"
}, },
"locked": { "locked": {
"lastModified": 1775710668, "lastModified": 1776363101,
"narHash": "sha256-pi2TWoWZR22vzr5RBAgIdl1LDwgLX+fh+Hqngt/Kkt8=", "narHash": "sha256-PIsrdhbaD+aqB473D3IjVjRdO5uQJ6etnm5b7nvdnmU=",
"owner": "sodiboo", "owner": "sodiboo",
"repo": "niri-flake", "repo": "niri-flake",
"rev": "bef414577a6a745543989716df478afec96486bd", "rev": "f273e1406713b729e02e419d31c48200a285fac1",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -392,11 +392,11 @@
"niri-unstable": { "niri-unstable": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1775561155, "lastModified": 1776358048,
"narHash": "sha256-TK2IrqQivRcwqJa0suZMbcsN17CtA8Uu0v7CDnLATb0=", "narHash": "sha256-0OpEyuTrEVVkQXFJ5iSmjFXqSEsTNje0ldmiTNgEkOQ=",
"owner": "YaLTeR", "owner": "YaLTeR",
"repo": "niri", "repo": "niri",
"rev": "599db847f857b8a7ff78ce02f15acab5d5d9fee1", "rev": "a1b0bd6d1cbbc695188f53839e42def4c5d38f43",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -427,11 +427,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1775703285, "lastModified": 1776310443,
"narHash": "sha256-Dck/lX920n3ClC6U2m3fWaXgoGrtJpnqfGCdiOb8Gf4=", "narHash": "sha256-XQo/vlS6xak3iT3xS2Q3TUMbreeeqe+PR99feUoV0UQ=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nix-vscode-extensions", "repo": "nix-vscode-extensions",
"rev": "c2281bf25d05ecb8155319456340afd34bea28ec", "rev": "3a6d0ea13d092493b285b9093b5ce81e79df5cee",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -478,11 +478,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1775595990, "lastModified": 1776067740,
"narHash": "sha256-OEf7YqhF9IjJFYZJyuhAypgU+VsRB5lD4DuiMws5Ltc=", "narHash": "sha256-B35lpsqnSZwn1Lmz06BpwF7atPgFmUgw1l8KAV3zpVQ=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "4e92bbcdb030f3b4782be4751dc08e6b6cb6ccf2", "rev": "7e495b747b51f95ae15e74377c5ce1fe69c1765f",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -509,11 +509,11 @@
}, },
"nixpkgs-unstable": { "nixpkgs-unstable": {
"locked": { "locked": {
"lastModified": 1775701739, "lastModified": 1776255774,
"narHash": "sha256-2FWWY1rr/+pGUJK1npcVcsWNEblzmKs6VxD3VEvwJSs=", "narHash": "sha256-psVTpH6PK3q1htMJpmdz1hLF5pQgEshu7gQWgKO6t6Y=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "0f7663154ff2fec150f9dbf5f81ec2785dc1e0db", "rev": "566acc07c54dc807f91625bb286cb9b321b5f42a",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -548,11 +548,11 @@
"treefmt-nix": "treefmt-nix" "treefmt-nix": "treefmt-nix"
}, },
"locked": { "locked": {
"lastModified": 1776022066, "lastModified": 1776366610,
"narHash": "sha256-EVl6pS3C8qogiqMNGBLibPsnK8saURb5Ayf9pxzcFjA=", "narHash": "sha256-7HXk7GwK7fCiIQ3ep8SsKUkfWhOOWxARuBKRPqWy0fc=",
"ref": "refs/heads/main", "ref": "refs/heads/main",
"rev": "d33b47139a431ebc6aef9926f1f80bb2420ac596", "rev": "434f8f8ffd3801cfeac82f6caaf1b58ef25e9c11",
"revCount": 152, "revCount": 344,
"type": "git", "type": "git",
"url": "https://git.berlin.ccc.de/vinzenz/nova-shell" "url": "https://git.berlin.ccc.de/vinzenz/nova-shell"
}, },
@ -571,11 +571,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1775746236, "lastModified": 1776364314,
"narHash": "sha256-wCMkv45LNU6gjWbl53WE4LAHU3Q3dNFU4dRWdlGW1PE=", "narHash": "sha256-xH/BIk0BBiZRhcJrurLBzpe0tAdmpeE3FAExIPnb3/w=",
"owner": "nix-community", "owner": "nix-community",
"repo": "NUR", "repo": "NUR",
"rev": "1088e4c4f5f40c9ce5e5181ae501576f72f1bce8", "rev": "528ff912ac19b61c3be7d29e3976e7f2186c2101",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -791,11 +791,11 @@
"tinted-zed": "tinted-zed" "tinted-zed": "tinted-zed"
}, },
"locked": { "locked": {
"lastModified": 1775509805, "lastModified": 1775935110,
"narHash": "sha256-CxmSn6FihFw7RvqLGGAdQUhbdBfdok946bg8ubvTfa4=", "narHash": "sha256-twTHKUFXjNNsaAvX0KoaIClt+923jXDRbfCd9PC/f0o=",
"owner": "nix-community", "owner": "nix-community",
"repo": "stylix", "repo": "stylix",
"rev": "83e8a81710ddd56fb5112da54e0395de51bbcd3a", "rev": "14f248ad1a7668e7858c6d9163608c208b7daf02",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -175,7 +175,8 @@
overlays = { overlays = {
unstable-packages = final: prev: { unstable-packages = final: prev: {
unstable = import nixpkgs-unstable { unstable = import nixpkgs-unstable {
inherit (prev) system config; localSystem = prev.stdenv.hostPlatform;
inherit (prev) config;
}; };
}; };
}; };
@ -222,7 +223,7 @@
}; };
in in
nixpkgs.lib.nixosSystem { nixpkgs.lib.nixosSystem {
inherit system specialArgs; inherit specialArgs;
modules = [ modules = [
{ {
imports = [ imports = [
@ -234,7 +235,6 @@
]); ]);
nixpkgs = { nixpkgs = {
inherit system;
hostPlatform = lib.mkDefault system; hostPlatform = lib.mkDefault system;
}; };
} }

View file

@ -13,7 +13,7 @@
./ssh.nix ./ssh.nix
./starship.nix ./starship.nix
./swaylock.nix ./swaylock.nix
./swaync.nix #./swaync.nix
./vscode.nix ./vscode.nix
# ./waybar.nix # ./waybar.nix
# ./wlogout.nix # ./wlogout.nix
@ -59,7 +59,6 @@
home.packages = with pkgs; [ home.packages = with pkgs; [
# keep-sorted start # keep-sorted start
arduino arduino
arduino-cli arduino-cli
arduino-ide arduino-ide

View file

@ -67,6 +67,10 @@
path = self.nixosConfigurations.damocles.config.system.build.toplevel; path = self.nixosConfigurations.damocles.config.system.build.toplevel;
}; };
# Global DefaultTimeoutStopSec is 10s (modern-desktop.nix), which kills systemd-nspawn
# before it finishes halting, leaving cgroups busy and breaking restarts.
systemd.services."container@damocles".serviceConfig.TimeoutStopSec = "60s";
boot.enableContainers = true; boot.enableContainers = true;
virtualisation.containers.enable = true; virtualisation.containers.enable = true;
}; };