diff --git a/flake.lock b/flake.lock index 49d49cd..8c4cb70 100644 --- a/flake.lock +++ b/flake.lock @@ -96,11 +96,11 @@ "nixpkgs": "nixpkgs_2" }, "locked": { - "lastModified": 1771353108, - "narHash": "sha256-5Xtei4UKrqRC6IYLgI1KEBaPN9Xfef5JeOexdqDWVeg=", + "lastModified": 1770834979, + "narHash": "sha256-gh7GOW1y06dsfCnzBlx+qkkDUqnr1AhXBRjihUTB3w4=", "owner": "xddxdd", "repo": "nix-cachyos-kernel", - "rev": "98e777cdcc39e6bd0312a9d756507ef9cbd284cb", + "rev": "36658048dacf3e409f17dfd1465eee1e4e217432", "type": "github" }, "original": { @@ -112,11 +112,11 @@ "cachyos-kernel": { "flake": false, "locked": { - "lastModified": 1771263855, - "narHash": "sha256-akyds1g8cb742d2OrnQ4YciscpynsQ0+0YD2a8aZdvo=", + "lastModified": 1770747435, + "narHash": "sha256-MR4xm9zQZ5LuoHWWdrlWJyEJablzx36nY19dXpY4VE4=", "owner": "CachyOS", "repo": "linux-cachyos", - "rev": "5ece16c7b4a7d1261da68153cafc318a60b78ce8", + "rev": "661da6f123bf3984e462fe9f932a38e643d6e081", "type": "github" }, "original": { @@ -128,11 +128,11 @@ "cachyos-kernel-patches": { "flake": false, "locked": { - "lastModified": 1771246613, - "narHash": "sha256-GftqKiyIgMcSgVkbNqXQq7oNnoL1+EB9V71XG4lPBRs=", + "lastModified": 1770760828, + "narHash": "sha256-bcAZJG390mv9fFJwzyFl3iRyrTpSTWsra14qBJujR4A=", "owner": "CachyOS", "repo": "kernel-patches", - "rev": "cb320a13e3c92f32ada27acb1fba8a828a22ae60", + "rev": "87a5bb45dfee4cf31a57472591cb5013a7e9afcf", "type": "github" }, "original": { @@ -144,28 +144,29 @@ "cerulean": { "inputs": { "deploy-rs": "deploy-rs", - "home-manager": "home-manager", - "microvm": "microvm", "nixpkgs": [ "nixpkgs" ], + "nixpkgs-unstable": [ + "nixpkgs-unstable" + ], "nt": "nt", "systems": [ "systems" ] }, "locked": { - "lastModified": 1771399468, - "narHash": "sha256-Nppe/RD8/zJZ9e1vhX/Ma1fKZ+rMbp8ZFPMflTLGbk8=", - "ref": "refs/heads/main", - "rev": "870bbb1f3738736ea248c171685bffdb242e294a", - "revCount": 172, - "type": "git", - "url": "https://tearforge.net/cry/cerulean" + "lastModified": 1771048834, + "narHash": "sha256-rkhrNJIjCQeABf0zgWZvz4Rb99TJvK+ioOmgy3tIOMs=", + "owner": "emilelcb", + "repo": "Cerulean", + "rev": "f329d48223d8addd340f14c9c653960544b3ce2c", + "type": "github" }, "original": { - "type": "git", - "url": "https://tearforge.net/cry/cerulean" + "owner": "emilelcb", + "repo": "Cerulean", + "type": "github" } }, "crane": { @@ -203,10 +204,7 @@ "deploy-rs": { "inputs": { "flake-compat": "flake-compat_3", - "nixpkgs": [ - "cerulean", - "nixpkgs" - ], + "nixpkgs": "nixpkgs_3", "utils": "utils" }, "locked": { @@ -384,11 +382,11 @@ "nixpkgs-lib": "nixpkgs-lib_2" }, "locked": { - "lastModified": 1769996383, - "narHash": "sha256-AnYjnFWgS49RlqX7LrC4uA+sCCDBj0Ry/WOJ5XWAsa0=", + "lastModified": 1768135262, + "narHash": "sha256-PVvu7OqHBGWN16zSi6tEmPwwHQ4rLPU9Plvs8/1TUBY=", "owner": "hercules-ci", "repo": "flake-parts", - "rev": "57928607ea566b5db3ad13af0e57e921e6b12381", + "rev": "80daad04eddbbf5a4d883996a73f3f542fa437ac", "type": "github" }, "original": { @@ -455,39 +453,17 @@ } }, "home-manager": { - "inputs": { - "nixpkgs": [ - "cerulean", - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1770260404, - "narHash": "sha256-3iVX1+7YUIt23hBx1WZsUllhbmP2EnXrV8tCRbLxHc8=", - "owner": "nix-community", - "repo": "home-manager", - "rev": "0d782ee42c86b196acff08acfbf41bb7d13eed5b", - "type": "github" - }, - "original": { - "owner": "nix-community", - "ref": "release-25.11", - "repo": "home-manager", - "type": "github" - } - }, - "home-manager_2": { "inputs": { "nixpkgs": [ "nixpkgs-unstable" ] }, "locked": { - "lastModified": 1771269455, - "narHash": "sha256-BZ31eN5F99YH6vkc4AhzKGE+tJgJ52kl8f01K7wCs8w=", + "lastModified": 1770910055, + "narHash": "sha256-6HJVLBtbf2ub4a3P9YG+a3CTzzUcy4HpLz4IQdiyVxY=", "owner": "nix-community", "repo": "home-manager", - "rev": "5f1d42a97b19803041434f66681d5c44c9ae62e3", + "rev": "0825a0922a5d677f5f984bb79524569bbd1f9954", "type": "github" }, "original": { @@ -497,7 +473,7 @@ "type": "github" } }, - "home-manager_3": { + "home-manager_2": { "inputs": { "nixpkgs": [ "zen", @@ -505,11 +481,11 @@ ] }, "locked": { - "lastModified": 1771102945, - "narHash": "sha256-e5NfW8NhC3qChR8bHVni/asrig/ZFzd1wzpq+cEE/tg=", + "lastModified": 1769872935, + "narHash": "sha256-07HMIGQ/WJeAQJooA7Kkg1SDKxhAiV6eodvOwTX6WKI=", "owner": "nix-community", "repo": "home-manager", - "rev": "ff5e5d882c51f9a032479595cbab40fd04f56399", + "rev": "f4ad5068ee8e89e4a7c2e963e10dd35cd77b37b7", "type": "github" }, "original": { @@ -587,7 +563,7 @@ "hyprutils": "hyprutils", "hyprwayland-scanner": "hyprwayland-scanner", "hyprwire": "hyprwire", - "nixpkgs": "nixpkgs_4", + "nixpkgs": "nixpkgs_5", "pre-commit-hooks": "pre-commit-hooks", "systems": "systems_3", "xdph": "xdph" @@ -873,7 +849,7 @@ "crane": "crane", "fenix": "fenix", "flake-utils": "flake-utils", - "nixpkgs": "nixpkgs_5" + "nixpkgs": "nixpkgs_6" }, "locked": { "lastModified": 1768868561, @@ -974,49 +950,6 @@ "type": "github" } }, - "microvm": { - "inputs": { - "nixpkgs": [ - "cerulean", - "nixpkgs" - ], - "spectrum": "spectrum" - }, - "locked": { - "lastModified": 1771365290, - "narHash": "sha256-1XJOslVyF7yzf6yd/yl1VjGLywsbtwmQh3X1LuJcLI4=", - "owner": "microvm-nix", - "repo": "microvm.nix", - "rev": "789c90b164b55b4379e7a94af8b9c01489024c18", - "type": "github" - }, - "original": { - "owner": "microvm-nix", - "repo": "microvm.nix", - "type": "github" - } - }, - "microvm_2": { - "inputs": { - "nixpkgs": [ - "nixpkgs" - ], - "spectrum": "spectrum_2" - }, - "locked": { - "lastModified": 1771365290, - "narHash": "sha256-1XJOslVyF7yzf6yd/yl1VjGLywsbtwmQh3X1LuJcLI4=", - "owner": "microvm-nix", - "repo": "microvm.nix", - "rev": "789c90b164b55b4379e7a94af8b9c01489024c18", - "type": "github" - }, - "original": { - "owner": "microvm-nix", - "repo": "microvm.nix", - "type": "github" - } - }, "millennium": { "inputs": { "abseil-src": "abseil-src", @@ -1032,7 +965,7 @@ "minhook-src": "minhook-src", "mini-src": "mini-src", "minizip-src": "minizip-src", - "nixpkgs": "nixpkgs_6", + "nixpkgs": "nixpkgs_7", "re2-src": "re2-src", "websocketpp-src": "websocketpp-src", "zlib-src": "zlib-src" @@ -1125,14 +1058,14 @@ "inputs": { "flake-compat": "flake-compat_5", "nix-index-database": "nix-index-database", - "nixpkgs": "nixpkgs_7" + "nixpkgs": "nixpkgs_8" }, "locked": { - "lastModified": 1771150922, - "narHash": "sha256-+oQJun4CFDlOQRocbZpqQDj7agoy56/4ZjT1oUR7NOs=", + "lastModified": 1768904356, + "narHash": "sha256-TIG8J+Or8nOydy8TztvtIshnprlf1q6XDIJnopLtMlA=", "owner": "thiagokokada", "repo": "nix-alien", - "rev": "96045e886ba0dd45b27590e7c0c6e77bbb54033d", + "rev": "d95b25a4dd6da2a1dfeaaf66163d0a281a8270e9", "type": "github" }, "original": { @@ -1172,11 +1105,11 @@ ] }, "locked": { - "lastModified": 1771130777, - "narHash": "sha256-UIKOwG0D9XVIJfNWg6+gENAvQP+7LO46eO0Jpe+ItJ0=", + "lastModified": 1765267181, + "narHash": "sha256-d3NBA9zEtBu2JFMnTBqWj7Tmi7R5OikoU2ycrdhQEws=", "owner": "nix-community", "repo": "nix-index-database", - "rev": "efec7aaad8d43f8e5194df46a007456093c40f88", + "rev": "82befcf7dc77c909b0f2a09f5da910ec95c5b78f", "type": "github" }, "original": { @@ -1229,14 +1162,14 @@ "inputs": { "flake-compat": "flake-compat_6", "flake-parts": "flake-parts_3", - "nixpkgs": "nixpkgs_8" + "nixpkgs": "nixpkgs_9" }, "locked": { - "lastModified": 1771375681, - "narHash": "sha256-qDDw0ruBZ1kt63j4uVP5Xrd1OxGKIYrSFnig0z6ozSw=", + "lastModified": 1770365342, + "narHash": "sha256-jV5tAs67HSBWz/ePEp1eyoUK3Lqfc1fEAvt2wC6reFc=", "owner": "FlameFlag", "repo": "nixcord", - "rev": "d030dbb48ab020092681a39c878c1d48a553ffc1", + "rev": "51db830336715209a4a213aa985f4d405ff0be69", "type": "github" }, "original": { @@ -1278,11 +1211,11 @@ }, "nixpkgs-lib_2": { "locked": { - "lastModified": 1769909678, - "narHash": "sha256-cBEymOf4/o3FD5AZnzC3J9hLbiZ+QDT/KDuyHXVJOpM=", - "owner": "nix-community", - "repo": "nixpkgs.lib", - "rev": "72716169fe93074c333e8d0173151350670b824c", + "lastModified": 1761114652, + "narHash": "sha256-f/QCJM/YhrV/lavyCVz8iU3rlZun6d+dAiC3H+CDle4=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "01f116e4df6a15f4ccdffb1bcd41096869fb385c", "type": "github" }, "original": { @@ -1293,11 +1226,11 @@ }, "nixpkgs-staging": { "locked": { - "lastModified": 1771384451, - "narHash": "sha256-rFs7+EFjAglrHFhRz3N/M+fyn28q+dR4gVC9/9yoWS0=", + "lastModified": 1770984692, + "narHash": "sha256-n6HUgG2+cvLcQkZEgXu14qgl/SrKC4EZerQXod0HGDg=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "4f8a766def570768a6cefe8ea42f839eff9dc1eb", + "rev": "e7b82c0fddf16a5e3fee29bbd8e0c8c67158176d", "type": "github" }, "original": { @@ -1309,11 +1242,11 @@ }, "nixpkgs-unstable": { "locked": { - "lastModified": 1771008912, - "narHash": "sha256-gf2AmWVTs8lEq7z/3ZAsgnZDhWIckkb+ZnAo5RzSxJg=", + "lastModified": 1770841267, + "narHash": "sha256-9xejG0KoqsoKEGp2kVbXRlEYtFFcDTHjidiuX8hGO44=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "a82ccc39b39b621151d6732718e3e250109076fa", + "rev": "ec7c70d12ce2fc37cb92aff673dcdca89d187bae", "type": "github" }, "original": { @@ -1325,11 +1258,27 @@ }, "nixpkgs_10": { "locked": { - "lastModified": 1771008912, - "narHash": "sha256-gf2AmWVTs8lEq7z/3ZAsgnZDhWIckkb+ZnAo5RzSxJg=", + "lastModified": 1771043024, + "narHash": "sha256-O1XDr7EWbRp+kHrNNgLWgIrB0/US5wvw9K6RERWAj6I=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "3aadb7ca9eac2891d52a9dec199d9580a6e2bf44", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-25.11", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_11": { + "locked": { + "lastModified": 1769461804, + "narHash": "sha256-msG8SU5WsBUfVVa/9RPLaymvi5bI8edTavbIq3vRlhI=", "owner": "nixos", "repo": "nixpkgs", - "rev": "a82ccc39b39b621151d6732718e3e250109076fa", + "rev": "bfc1b8a4574108ceef22f02bafcf6611380c100d", "type": "github" }, "original": { @@ -1341,11 +1290,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1771309086, - "narHash": "sha256-25aY7PIHMmoVW5w/x8Bs4vsfSV94A5htwiLINJ4KMuY=", + "lastModified": 1770818322, + "narHash": "sha256-tttCN+yrhM7svQW6DqtS3JV9POrRJAaS/e0xuUHBTEM=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "5e17f00eb60368a4b4b110a89f1c250f9a12c053", + "rev": "d9ca3a4b73f19ea147c9d977d3dde8f612ac648f", "type": "github" }, "original": { @@ -1356,6 +1305,22 @@ } }, "nixpkgs_3": { + "locked": { + "lastModified": 1743014863, + "narHash": "sha256-jAIUqsiN2r3hCuHji80U7NNEafpIMBXiwKlSrjWMlpg=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "bd3bac8bfb542dbde7ffffb6987a1a1f9d41699f", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixpkgs-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_4": { "locked": { "lastModified": 1767313136, "narHash": "sha256-16KkgfdYqjaeRGBaYsNrhPRRENs0qzkQVUooNHtoy2w=", @@ -1371,7 +1336,7 @@ "type": "github" } }, - "nixpkgs_4": { + "nixpkgs_5": { "locked": { "lastModified": 1766070988, "narHash": "sha256-G/WVghka6c4bAzMhTwT2vjLccg/awmHkdKSd2JrycLc=", @@ -1387,7 +1352,7 @@ "type": "github" } }, - "nixpkgs_5": { + "nixpkgs_6": { "locked": { "lastModified": 1760284886, "narHash": "sha256-TK9Kr0BYBQ/1P5kAsnNQhmWWKgmZXwUQr4ZMjCzWf2c=", @@ -1403,7 +1368,7 @@ "type": "github" } }, - "nixpkgs_6": { + "nixpkgs_7": { "locked": { "lastModified": 1770115704, "narHash": "sha256-KHFT9UWOF2yRPlAnSXQJh6uVcgNcWlFqqiAZ7OVlHNc=", @@ -1419,13 +1384,13 @@ "type": "github" } }, - "nixpkgs_7": { + "nixpkgs_8": { "locked": { - "lastModified": 1771008912, - "narHash": "sha256-gf2AmWVTs8lEq7z/3ZAsgnZDhWIckkb+ZnAo5RzSxJg=", + "lastModified": 1768305791, + "narHash": "sha256-AIdl6WAn9aymeaH/NvBj0H9qM+XuAuYbGMZaP0zcXAQ=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "a82ccc39b39b621151d6732718e3e250109076fa", + "rev": "1412caf7bf9e660f2f962917c14b1ea1c3bc695e", "type": "github" }, "original": { @@ -1435,29 +1400,13 @@ "type": "github" } }, - "nixpkgs_8": { - "locked": { - "lastModified": 1770617025, - "narHash": "sha256-1jZvgZoAagZZB6NwGRv2T2ezPy+X6EFDsJm+YSlsvEs=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "2db38e08fdadcc0ce3232f7279bab59a15b94482", - "type": "github" - }, - "original": { - "owner": "NixOS", - "ref": "nixos-25.11", - "repo": "nixpkgs", - "type": "github" - } - }, "nixpkgs_9": { "locked": { - "lastModified": 1771208521, - "narHash": "sha256-X01Q3DgSpjeBpapoGA4rzKOn25qdKxbPnxHeMLNoHTU=", + "lastModified": 1770770419, + "narHash": "sha256-iKZMkr6Cm9JzWlRYW/VPoL0A9jVKtZYiU4zSrVeetIs=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "fa56d7d6de78f5a7f997b0ea2bc6efd5868ad9e8", + "rev": "6c5e707c6b5339359a9a9e215c5e66d6d802fd7a", "type": "github" }, "original": { @@ -1470,7 +1419,7 @@ "nt": { "inputs": { "nix-unit": "nix-unit", - "nixpkgs": "nixpkgs_3", + "nixpkgs": "nixpkgs_4", "systems": "systems_2" }, "locked": { @@ -1532,16 +1481,15 @@ "awww": "awww", "cachyos": "cachyos", "cerulean": "cerulean", - "home-manager": "home-manager_2", + "home-manager": "home-manager", "hyprland-git": "hyprland-git", "hyprland-plugins": "hyprland-plugins", "iamb": "iamb", - "microvm": "microvm_2", "millennium": "millennium", "nix-alien": "nix-alien", "nixcats": "nixcats", "nixcord": "nixcord", - "nixpkgs": "nixpkgs_9", + "nixpkgs": "nixpkgs_10", "nixpkgs-staging": "nixpkgs-staging", "nixpkgs-unstable": "nixpkgs-unstable", "sddm-silent": "sddm-silent", @@ -1608,38 +1556,6 @@ "type": "github" } }, - "spectrum": { - "flake": false, - "locked": { - "lastModified": 1759482047, - "narHash": "sha256-H1wiXRQHxxPyMMlP39ce3ROKCwI5/tUn36P8x6dFiiQ=", - "ref": "refs/heads/main", - "rev": "c5d5786d3dc938af0b279c542d1e43bce381b4b9", - "revCount": 996, - "type": "git", - "url": "https://spectrum-os.org/git/spectrum" - }, - "original": { - "type": "git", - "url": "https://spectrum-os.org/git/spectrum" - } - }, - "spectrum_2": { - "flake": false, - "locked": { - "lastModified": 1759482047, - "narHash": "sha256-H1wiXRQHxxPyMMlP39ce3ROKCwI5/tUn36P8x6dFiiQ=", - "ref": "refs/heads/main", - "rev": "c5d5786d3dc938af0b279c542d1e43bce381b4b9", - "revCount": 996, - "type": "git", - "url": "https://spectrum-os.org/git/spectrum" - }, - "original": { - "type": "git", - "url": "https://spectrum-os.org/git/spectrum" - } - }, "spicetify-nix": { "inputs": { "nixpkgs": [ @@ -1650,11 +1566,11 @@ ] }, "locked": { - "lastModified": 1771268051, - "narHash": "sha256-nGqPcngnezoT+/xAvw3UDjwdKP2MC4fO315A/Otb9eE=", + "lastModified": 1770846656, + "narHash": "sha256-wdYpo8++TqKp3GdRgLFykjuIVW1m9GlUnxID2FG74cE=", "owner": "Gerg-L", "repo": "spicetify-nix", - "rev": "b930de84c561f62a0c39a6a57c2ab553a97e8495", + "rev": "40e65cfc4608402674e1efaac3fccce20d2a72d3", "type": "github" }, "original": { @@ -1839,15 +1755,15 @@ }, "zen": { "inputs": { - "home-manager": "home-manager_3", - "nixpkgs": "nixpkgs_10" + "home-manager": "home-manager_2", + "nixpkgs": "nixpkgs_11" }, "locked": { - "lastModified": 1771381854, - "narHash": "sha256-6uEDuQYEGuyuFnvOdSx+fW75tRbNiLswAl6+4qyTdJ4=", + "lastModified": 1770910552, + "narHash": "sha256-iJ9c0ZewfRRYUflaEOj43n5TWaB6Ezygn2UA/ZHGQJA=", "owner": "0xc000022070", "repo": "zen-browser-flake", - "rev": "0fa995bec0e391b45b032fbd9d6e03609a30c115", + "rev": "15656b755cf2e75bd3e67ded6c7709bc09262c27", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index c356c4e..820daca 100644 --- a/flake.nix +++ b/flake.nix @@ -14,10 +14,10 @@ }; cerulean = { - url = "git+https://tearforge.net/cry/cerulean"; + url = "github:emilelcb/Cerulean"; inputs = { systems.follows = "systems"; - nixpkgs.follows = "nixpkgs"; + nixpkgs.follows = "nixpkgs-unstable"; }; }; diff --git a/homes/aurora/default.nix b/homes/aurora/default.nix index abae254..2e46252 100644 --- a/homes/aurora/default.nix +++ b/homes/aurora/default.nix @@ -45,8 +45,6 @@ XDG_DATA_HOME = "$HOME/.local/share"; XDG_STATE_HOME = "$HOME/.local/state"; XDG_BIN_HOME = "$HOME/.local/bin"; # not official spec - - NIXOS_OZONE_WL = "1"; }; home.sessionPath = [ @@ -247,20 +245,20 @@ }; } { - condition = "hasconfig:remote.*.url:ssh://git@tearforge.net:2222/**"; + condition = "hasconfig:remote.*.url:ssh://forgejo@forge.dobutterfliescry.net:2222/**"; contents = { user = { name = "foxora"; - email = "foxora@noreply.tearforge.net"; + email = "foxora@noreply.forge.dobutterfliescry.net"; }; }; } { - condition = "hasconfig:remote.*.url:https://tearforge.net/**"; + condition = "hasconfig:remote.*.url:https://forge.dobutterfliescry.net/**"; contents = { user = { name = "foxora"; - email = "foxora@noreply.tearforge.net"; + email = "foxora@noreply.forge.dobutterfliescry.net"; }; }; } @@ -305,6 +303,13 @@ }; }; + # Environment / Session Variables + home = { + sessionVariables = { + NIXOS_OZONE_WL = "1"; + }; + }; + # The state version is required and should stay the version you originally installed home.stateVersion = "24.11"; } diff --git a/hosts/nixarawrui/default.nix b/hosts/nixarawrui/default.nix index 58c1c92..010b67a 100644 --- a/hosts/nixarawrui/default.nix +++ b/hosts/nixarawrui/default.nix @@ -278,6 +278,10 @@ }; }; + # XXX: WARNING: NOTE: (@dobutterfliescry) + # XXX: WARNING: NOTE: WHYYYYYY DOES AURORA'S CONFIG NOT PROPAGATE INPUTS?? + home-manager.extraSpecialArgs = {inherit inputs;}; + # List packages installed in system profile. To search, run: # $ nix search wget environment.systemPackages = with upkgs; [ @@ -294,7 +298,7 @@ via # wine - needed for lutris :3 - wineWow64Packages.stable + wineWowPackages.stable # utils, apps, important default stuff ig :3 neovim @@ -317,8 +321,8 @@ (steam.override { extraPkgs = upkgs: [ nss - libx11 - libxscrnsaver + xorg.libX11 + xorg.libXScrnSaver ]; }).run diff --git a/nixpkgs.nix b/nixpkgs.nix index a992db5..50fcf68 100644 --- a/nixpkgs.nix +++ b/nixpkgs.nix @@ -3,16 +3,14 @@ system, ... } @ args: { - nixpkgs.channels = rec { + nixpkgs.channels.default = rec { default = pkgs; # nixpkgs pkgs = { inherit system; source = inputs.nixpkgs; - overlays = [ - (import ./overlays.nix args) - ]; + overlays = []; config.allowUnfree = true; }; @@ -24,6 +22,7 @@ cachyos.overlays.pinned millennium.overlays.default + # XXX: WARNING: TODO: cerulean will (import ./overlays.nix args) ]; @@ -34,9 +33,7 @@ spkgs = { inherit system; source = inputs.nixpkgs-staging; - overlays = [ - (import ./overlays.nix args) - ]; + overlays = []; config.allowUnfree = true; }; }; diff --git a/overlays.nix b/overlays.nix index 1a50320..99638ba 100644 --- a/overlays.nix +++ b/overlays.nix @@ -1,3 +1,4 @@ +# NOTE: `system` is provided by Cerulean { inputs, system, diff --git a/snow.nix b/snow.nix index 1132ca0..1fea348 100644 --- a/snow.nix +++ b/snow.nix @@ -1,13 +1,14 @@ {cerulean, ...} @ inputs: cerulean.mkNexus ./. (self: { nexus = { - args = {inherit inputs;}; + specialArgs = {inherit inputs;}; - modules = with inputs; []; - - base = inputs.nixpkgs; + extraModules = with inputs; [ + home-manager.nixosModules.home-manager + ]; groups = { + unstable-base = {}; servers = {}; }; @@ -16,13 +17,16 @@ cerulean.mkNexus ./. (self: { (self.nexus) groups ; - in { + in + { nixarawrui = { system = "x86_64-linux"; - # base = inputs.nixpkgs-unstable; + groups = [ + groups.unstable-base + ]; - modules = with inputs; [ + extraModules = with inputs; [ sddm-silent.nixosModules.default ]; }; @@ -34,62 +38,6 @@ cerulean.mkNexus ./. (self: { groups.servers ]; - modules = with inputs; [ - microvm.nixosModules.host - - { - microvm.vms = { - home-assistant = { - autostart = true; - - config = { - imports = [./vms/home-assistant/default.nix]; - - networking.hostName = "home-assistant"; - - microvm = { - hypervisor = "qemu"; - - # memory cannot be 2GB so i doubled it and used 4GB: - # https://github.com/microvm-nix/microvm.nix/issues/171 - # TODO: can be fixed by turning off acpi in qemu - mem = 4096; # 4GB - vcpu = 2; - - interfaces = [ - { - type = "tap"; - id = "vm-hass"; - mac = "0a:00:a0:70:01:01"; - } - ]; - - volumes = [ - { - image = "/var/lib/microvms/home-assistant/data.img"; - mountPoint = "/var/lib/hass"; - size = 16384; # 16GB - } - ]; - }; - - networking = { - interfaces.eth0 = { - useDHCP = false; - ipv4.addresses = [ - { - address = "10.16.1.127"; - prefixLength = 24; - } - ]; - }; - }; - }; - }; - }; - } - ]; - deploy.ssh = { host = "10.16.1.163"; port = 2222; diff --git a/vms/home-assistant/default.nix b/vms/home-assistant/default.nix deleted file mode 100644 index 4f27018..0000000 --- a/vms/home-assistant/default.nix +++ /dev/null @@ -1,12 +0,0 @@ -{ config, lib, pkgs, ... }: -{ - services.home-assistant = { - enable = true; - configDir = "/var/lib/hass"; - # disables config generation, i don't wanna configure home assistant - # through nix at the moment - config = null; - }; - - system.stateVersion = "25.11"; -}