diff --git a/dots/doom/init.el b/dots/doom/init.el index 44f9151..3a8250e 100644 --- a/dots/doom/init.el +++ b/dots/doom/init.el @@ -103,7 +103,7 @@ ;;make ; run make tasks from Emacs ;;pass ; password manager for nerds pdf ; pdf enhancements - ;;terraform ; infrastructure as code + terraform ; infrastructure as code ;;tmux ; an API for interacting with tmux tree-sitter ; syntax and parsing, sitting in a tree... ;;upload ; map local to remote projects via ssh/ftp diff --git a/flake.lock b/flake.lock index 3c7b822..3f08c82 100644 --- a/flake.lock +++ b/flake.lock @@ -2,6 +2,7 @@ "nodes": { "anyrun": { "inputs": { + "anyrun-provider": "anyrun-provider", "flake-parts": "flake-parts", "nixpkgs": [ "nixpkgs" @@ -9,11 +10,11 @@ "systems": "systems" }, "locked": { - "lastModified": 1757941676, - "narHash": "sha256-7bPStUIS3jFykzXj+PAvHdFJ3Ld37P5MSts+M0hN3+g=", + "lastModified": 1758645700, + "narHash": "sha256-7VHPjP/FDqx3EctIXqUssh8GC9ldXq/eNMX21uVkI8c=", "owner": "Kirottu", "repo": "anyrun", - "rev": "5c577042aaa0a7685cfc38557bed17f14124844b", + "rev": "8cf7bd9de48e50cf1d662a56af28c0d13da91761", "type": "github" }, "original": { @@ -22,6 +23,27 @@ "type": "github" } }, + "anyrun-provider": { + "inputs": { + "nixpkgs": [ + "anyrun", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1758040471, + "narHash": "sha256-jsFBGoLiciAFRs5Fi4eOvbsXtf2tLyYh+OiRhV6BGI4=", + "owner": "anyrun-org", + "repo": "anyrun-provider", + "rev": "6631af0ecb8f245cbf88e972d1522f747d6cd883", + "type": "github" + }, + "original": { + "owner": "anyrun-org", + "repo": "anyrun-provider", + "type": "github" + } + }, "aquamarine": { "inputs": { "hyprutils": [ @@ -145,11 +167,11 @@ "quickshell": "quickshell" }, "locked": { - "lastModified": 1757943127, - "narHash": "sha256-n9t6OY5fikMuzoFeN9JtCdawOUHgsrLBswdw98U+PbU=", + "lastModified": 1758789012, + "narHash": "sha256-v3M/RTNDhbPZWX73dA4SJWIGDrFUELUXzx7VUbV3ilc=", "owner": "caelestia-dots", "repo": "shell", - "rev": "172c1a047de327708a55d9c8e2efcbc09481d048", + "rev": "423ca87181d4d9ff06714cd30d81feb246a88c7a", "type": "github" }, "original": { @@ -169,11 +191,11 @@ ] }, "locked": { - "lastModified": 1757772762, - "narHash": "sha256-7m4hqYSgRe68lkzHFLb1GN5gQac4X4akKfKgFvhj/34=", + "lastModified": 1758332798, + "narHash": "sha256-ICRVTu6tDKoKRLpPcXb7oB6uAMut2GQvNOb9n0hGMuY=", "owner": "caelestia-dots", "repo": "cli", - "rev": "62e7911864ce6ec8a0b371735cf640d81821100e", + "rev": "dd982bcb9612ccc0a31371a2c0053643bd37c968", "type": "github" }, "original": { @@ -188,11 +210,11 @@ "nixpkgs": "nixpkgs_2" }, "locked": { - "lastModified": 1757942288, - "narHash": "sha256-oZ3inw/va4CUJyBZcYtDQRqGjm6LCvCR2Py9WIjI/04=", + "lastModified": 1758765103, + "narHash": "sha256-irW0LJIaGWCmIROqbA1L1g54qFmki/3/lGOuKtKabhc=", "owner": "caelestia-dots", "repo": "cli", - "rev": "ad6df1c9d28a7b1c60f41fc3faf5bb1e34b275f4", + "rev": "8399eee947a123ce81e384814541f44c228e1633", "type": "github" }, "original": { @@ -213,11 +235,11 @@ "quickshell": "quickshell_2" }, "locked": { - "lastModified": 1757846428, - "narHash": "sha256-Y35fKiseUJKLPro0p2Ly0tLdOig90oGJRzzwsguxRNE=", + "lastModified": 1758724971, + "narHash": "sha256-II2h1i4e/yeBY53Ls4LpoiTTBIoympqpW8IY7JcHstc=", "owner": "caelestia-dots", "repo": "shell", - "rev": "15def897b20919e4e7acef58b9f56c879f12bba9", + "rev": "883ff630d913dfe02d180a5f43f5e30e4bc0dab0", "type": "github" }, "original": { @@ -409,11 +431,11 @@ ] }, "locked": { - "lastModified": 1757920978, - "narHash": "sha256-Mv16aegXLulgyDunijP6SPFJNm8lSXb2w3Q0X+vZ9TY=", + "lastModified": 1758786164, + "narHash": "sha256-o1WyZI2T7yPywiY06Swt8AZH/ewKU1nLqDw8fw1fwPc=", "owner": "nix-community", "repo": "home-manager", - "rev": "11cc5449c50e0e5b785be3dfcb88245232633eb8", + "rev": "232454052008027c8e925979d13a951e92729781", "type": "github" }, "original": { @@ -467,11 +489,11 @@ ] }, "locked": { - "lastModified": 1757542864, - "narHash": "sha256-8i9tsVoOmLQDHJkNgzJWnmxYFGkJNsSndimYpCoqmoA=", + "lastModified": 1758192433, + "narHash": "sha256-CR6RnqEJSTiFgA6KQY4TTLUWbZ8RBnb+hxQqesuQNzQ=", "owner": "hyprwm", "repo": "hyprgraphics", - "rev": "aa9d14963b94186934fd0715d9a7f0f2719e64bb", + "rev": "c44e749dd611521dee940d00f7c444ee0ae4cfb7", "type": "github" }, "original": { @@ -496,11 +518,11 @@ "xdph": "xdph" }, "locked": { - "lastModified": 1757936652, - "narHash": "sha256-qQi/z2sfqFpVnDP+oqIBXRxwRCsmtk7HFOrQF08h6e8=", + "lastModified": 1758757473, + "narHash": "sha256-x/CJslwOOpha0MAyTXC74U+ZM+2qWmtHupnNg3ulxqc=", "owner": "hyprwm", "repo": "Hyprland", - "rev": "9e74d0aea7614eaf238ef07261129026572337e7", + "rev": "8cce3b98cebd6910a9c94c11a6efb2293d2031bc", "type": "github" }, "original": { @@ -517,11 +539,11 @@ "nix-filter": "nix-filter" }, "locked": { - "lastModified": 1757587300, - "narHash": "sha256-hIBLvVbyldm/N7W5EYRaEkA1kOgSjyoaYuOjHybJ2bI=", + "lastModified": 1758736720, + "narHash": "sha256-+1e5og3K4Dmb2pKtDApt2ozuZMDEXxHWlvwq4hNFOc8=", "owner": "Duckonaut", "repo": "split-monitor-workspaces", - "rev": "f128289c3820f397f60874a8082dd8d1a0a67732", + "rev": "94815794774203af2c776a78b01592f51e1d1c25", "type": "github" }, "original": { @@ -610,11 +632,11 @@ ] }, "locked": { - "lastModified": 1757508108, - "narHash": "sha256-bTYedtQFqqVBAh42scgX7+S3O6XKLnT6FTC6rpmyCCc=", + "lastModified": 1757694755, + "narHash": "sha256-j+w5QUUr2QT/jkxgVKecGYV8J7fpzXCMgzEEr6LG9ug=", "owner": "hyprwm", "repo": "hyprland-qtutils", - "rev": "119bcb9aa742658107b326c50dcd24ab59b309b7", + "rev": "5ffdfc13ed03df1dae5084468d935f0a3f2c9a4c", "type": "github" }, "original": { @@ -712,11 +734,11 @@ "xwayland-satellite-unstable": "xwayland-satellite-unstable" }, "locked": { - "lastModified": 1757942412, - "narHash": "sha256-iDnEKwUYNOJZU/2B4bt8tfKUwN0J7RFJ7BXmf17VJOM=", + "lastModified": 1758697829, + "narHash": "sha256-1pO4A16ssvjHNyHilpvxo15mBkAifCSOiLs3hBlrYdU=", "owner": "sodiboo", "repo": "niri-flake", - "rev": "1da07fd6a9d44a7875d2843cccab1179085edb2c", + "rev": "9dbeb8f613d2da107bff8375c2db7182a2bb79bb", "type": "github" }, "original": { @@ -745,11 +767,11 @@ "niri-unstable": { "flake": false, "locked": { - "lastModified": 1757916394, - "narHash": "sha256-nSmVJLjTGwQYC+pqD7GLt7Yt6oktawAMRld6oyFwMd0=", + "lastModified": 1758691861, + "narHash": "sha256-CYgoGrY/Fx+hjzp8graTxJw1M7mn1f2jBkK26M04T0s=", "owner": "YaLTeR", "repo": "niri", - "rev": "cd0d45fdb88641aa5211c81e69301e85c5dd53a2", + "rev": "e837e39623457dc5ad29c34a5ce4d4616e5fbf1e", "type": "github" }, "original": { @@ -835,6 +857,26 @@ "type": "github" } }, + "nix-index-database_2": { + "inputs": { + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1758427679, + "narHash": "sha256-xwjWRJTKDCjQ0iwfh7WhDhgcS0Wt3d1Yscg83mKBCn4=", + "owner": "nix-community", + "repo": "nix-index-database", + "rev": "fd2569ca2ef7d69f244cd9ffcb66a0540772ff85", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "nix-index-database", + "type": "github" + } + }, "nixcord": { "inputs": { "flake-compat": "flake-compat_3", @@ -842,11 +884,11 @@ "nixpkgs": "nixpkgs_5" }, "locked": { - "lastModified": 1757726013, - "narHash": "sha256-7RPKqqlc5xawEbASZh18b6HX9FogiVTPIw0KdMEjpn8=", + "lastModified": 1758763173, + "narHash": "sha256-4/RUMX2W+KjSSbRATivvZ9B8/A+JUjlYkKyreNCjwq4=", "owner": "kaylorben", "repo": "nixcord", - "rev": "2133f2ab5af34dab65f5aa17f1f343777bc71070", + "rev": "6b07c2b2aa0fc218949bd6f99bfdddf50081c658", "type": "github" }, "original": { @@ -857,11 +899,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1757745802, - "narHash": "sha256-hLEO2TPj55KcUFUU1vgtHE9UEIOjRcH/4QbmfHNF820=", + "lastModified": 1758277210, + "narHash": "sha256-iCGWf/LTy+aY0zFu8q12lK8KuZp7yvdhStehhyX1v8w=", "owner": "nixos", "repo": "nixpkgs", - "rev": "c23193b943c6c689d70ee98ce3128239ed9e32d1", + "rev": "8eaee110344796db060382e15d3af0a9fc396e0e", "type": "github" }, "original": { @@ -903,11 +945,11 @@ }, "nixpkgs-stable": { "locked": { - "lastModified": 1757810152, - "narHash": "sha256-Vp9K5ol6h0J90jG7Rm4RWZsCB3x7v5VPx588TQ1dkfs=", + "lastModified": 1758589230, + "narHash": "sha256-zMTCFGe8aVGTEr2RqUi/QzC1nOIQ0N1HRsbqB4f646k=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "9a094440e02a699be5c57453a092a8baf569bdad", + "rev": "d1d883129b193f0b495d75c148c2c3a7d95789a0", "type": "github" }, "original": { @@ -919,11 +961,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1757745802, - "narHash": "sha256-hLEO2TPj55KcUFUU1vgtHE9UEIOjRcH/4QbmfHNF820=", + "lastModified": 1758427187, + "narHash": "sha256-pHpxZ/IyCwoTQPtFIAG2QaxuSm8jWzrzBGjwQZIttJc=", "owner": "nixos", "repo": "nixpkgs", - "rev": "c23193b943c6c689d70ee98ce3128239ed9e32d1", + "rev": "554be6495561ff07b6c724047bdd7e0716aa7b46", "type": "github" }, "original": { @@ -935,11 +977,11 @@ }, "nixpkgs_3": { "locked": { - "lastModified": 1757487488, - "narHash": "sha256-zwE/e7CuPJUWKdvvTCB7iunV4E/+G0lKfv4kk/5Izdg=", + "lastModified": 1758198701, + "narHash": "sha256-7To75JlpekfUmdkUZewnT6MoBANS0XVypW6kjUOXQwc=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "ab0f3607a6c7486ea22229b92ed2d355f1482ee0", + "rev": "0147c2f1d54b30b5dd6d4a8c8542e8d7edf93b5d", "type": "github" }, "original": { @@ -951,11 +993,11 @@ }, "nixpkgs_4": { "locked": { - "lastModified": 1757745802, - "narHash": "sha256-hLEO2TPj55KcUFUU1vgtHE9UEIOjRcH/4QbmfHNF820=", + "lastModified": 1758427187, + "narHash": "sha256-pHpxZ/IyCwoTQPtFIAG2QaxuSm8jWzrzBGjwQZIttJc=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "c23193b943c6c689d70ee98ce3128239ed9e32d1", + "rev": "554be6495561ff07b6c724047bdd7e0716aa7b46", "type": "github" }, "original": { @@ -983,11 +1025,11 @@ }, "nixpkgs_6": { "locked": { - "lastModified": 1757745802, - "narHash": "sha256-hLEO2TPj55KcUFUU1vgtHE9UEIOjRcH/4QbmfHNF820=", + "lastModified": 1758427187, + "narHash": "sha256-pHpxZ/IyCwoTQPtFIAG2QaxuSm8jWzrzBGjwQZIttJc=", "owner": "nixos", "repo": "nixpkgs", - "rev": "c23193b943c6c689d70ee98ce3128239ed9e32d1", + "rev": "554be6495561ff07b6c724047bdd7e0716aa7b46", "type": "github" }, "original": { @@ -1048,11 +1090,11 @@ ] }, "locked": { - "lastModified": 1757588530, - "narHash": "sha256-tJ7A8mID3ct69n9WCvZ3PzIIl3rXTdptn/lZmqSS95U=", + "lastModified": 1758108966, + "narHash": "sha256-ytw7ROXaWZ7OfwHrQ9xvjpUWeGVm86pwnEd1QhzawIo=", "owner": "cachix", "repo": "git-hooks.nix", - "rev": "b084b2c2b6bc23e83bbfe583b03664eb0b18c411", + "rev": "54df955a695a84cd47d4a43e08e1feaf90b1fd9b", "type": "github" }, "original": { @@ -1089,11 +1131,11 @@ ] }, "locked": { - "lastModified": 1756981260, - "narHash": "sha256-GhuD9QVimjynHI0OOyZsqJsnlXr2orowh9H+HYz4YMs=", + "lastModified": 1758273351, + "narHash": "sha256-wOv1guIi9THD1NjOtBU2Xh/Avg9xv7nIjsfFSkr1NeQ=", "ref": "refs/heads/master", - "rev": "6eb12551baf924f8fdecdd04113863a754259c34", - "revCount": 672, + "rev": "e9a574d919a89602d2868621576b2ccae54a5cb0", + "revCount": 675, "type": "git", "url": "https://git.outfoxxed.me/outfoxxed/quickshell" }, @@ -1111,11 +1153,11 @@ ] }, "locked": { - "lastModified": 1756981260, - "narHash": "sha256-GhuD9QVimjynHI0OOyZsqJsnlXr2orowh9H+HYz4YMs=", + "lastModified": 1758273351, + "narHash": "sha256-wOv1guIi9THD1NjOtBU2Xh/Avg9xv7nIjsfFSkr1NeQ=", "ref": "refs/heads/master", - "rev": "6eb12551baf924f8fdecdd04113863a754259c34", - "revCount": 672, + "rev": "e9a574d919a89602d2868621576b2ccae54a5cb0", + "revCount": 675, "type": "git", "url": "https://git.outfoxxed.me/outfoxxed/quickshell" }, @@ -1131,11 +1173,11 @@ ] }, "locked": { - "lastModified": 1756981260, - "narHash": "sha256-GhuD9QVimjynHI0OOyZsqJsnlXr2orowh9H+HYz4YMs=", + "lastModified": 1758273351, + "narHash": "sha256-wOv1guIi9THD1NjOtBU2Xh/Avg9xv7nIjsfFSkr1NeQ=", "ref": "refs/heads/master", - "rev": "6eb12551baf924f8fdecdd04113863a754259c34", - "revCount": 672, + "rev": "e9a574d919a89602d2868621576b2ccae54a5cb0", + "revCount": 675, "type": "git", "url": "https://git.outfoxxed.me/outfoxxed/quickshell" }, @@ -1155,6 +1197,7 @@ "niri": "niri", "nix-alien": "nix-alien", "nix-colors": "nix-colors", + "nix-index-database": "nix-index-database_2", "nixcord": "nixcord", "nixpkgs": "nixpkgs_6", "qs-qml": "qs-qml", @@ -1182,11 +1225,11 @@ "tinted-zed": "tinted-zed" }, "locked": { - "lastModified": 1757360005, - "narHash": "sha256-VwzdFEQCpYMU9mc7BSQGQe5wA1MuTYPJnRc9TQCTMcM=", + "lastModified": 1758757969, + "narHash": "sha256-2zC4aHoDsR12Jyd6WvSxmQbAKT4V93frnHHDjA8o3r8=", "owner": "nix-community", "repo": "stylix", - "rev": "834a743c11d66ea18e8c54872fbcc72ce48bc57f", + "rev": "484819a16fdc1c76cdd62d8e94018db44e5e1a8b", "type": "github" }, "original": { @@ -1382,11 +1425,11 @@ "xwayland-satellite-unstable": { "flake": false, "locked": { - "lastModified": 1757179758, - "narHash": "sha256-TIvyWzRt1miQj6Cf5Wy8Qz43XIZX7c4vTVwRLAT5S4Y=", + "lastModified": 1758577423, + "narHash": "sha256-sB2GAOjhjoWnjU6A/uHNJiY6O3UeztV5pJAN2g1FkXU=", "owner": "Supreeeme", "repo": "xwayland-satellite", - "rev": "970728d0d9d1eada342bb8860af214b601139e58", + "rev": "03368548ba745e17a85bd631613a59cb2d8469a4", "type": "github" }, "original": { @@ -1405,11 +1448,11 @@ ] }, "locked": { - "lastModified": 1757900278, - "narHash": "sha256-Cnx4ZB6CNYnCkTE49z/IWNbaR2l42n9aITIaMzHmunk=", + "lastModified": 1758777544, + "narHash": "sha256-ie5ipy/vaI/fCyLkeEzXaRarUgrfbBwdMC6mi867LGM=", "owner": "0xc000022070", "repo": "zen-browser-flake", - "rev": "a6fd725c7c9ceab921aa3e88963391b4c9336a0c", + "rev": "7f5f66287029b31a5ba62275d8079e82d39941a6", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index f41586f..e577853 100755 --- a/flake.nix +++ b/flake.nix @@ -2,6 +2,8 @@ description = "Nixos config flake"; inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; + nix-index-database.url = "github:nix-community/nix-index-database"; + nix-index-database.inputs.nixpkgs.follows = "nixpkgs"; home-manager = { url = "github:nix-community/home-manager"; inputs.nixpkgs.follows = "nixpkgs"; @@ -71,6 +73,7 @@ modules = [ ./configuration.nix inputs.home-manager.nixosModules.default + inputs.nix-index-database.nixosModules.nix-index ]; }; mrfluffyPC = nixpkgs.lib.nixosSystem { @@ -81,6 +84,7 @@ modules = [ ./configuration.nix inputs.home-manager.nixosModules.default + inputs.nix-index-database.nixosModules.nix-index ]; }; }; diff --git a/home/homePkgs.nix b/home/homePkgs.nix index f3062d2..d0162b9 100755 --- a/home/homePkgs.nix +++ b/home/homePkgs.nix @@ -27,6 +27,7 @@ in { imports = [ inputs.zen-browser.homeModules.beta + inputs.caelestia.homeManagerModules.default ]; programs = { @@ -39,8 +40,392 @@ in enable = true; profiles.default = defaultProfile; }; + caelestia = { + enable = true; + systemd = { + enable = true; # if you prefer starting from your compositor + target = "graphical-session.target"; + environment = []; + }; + settings = { + appearance = { + anim = { + durations = { + scale = 1; + }; + }; + font = { + family = { + material = "Material Symbols Rounded"; + mono = "CaskaydiaCove NF"; + sans = "Rubik"; + }; + size = { + scale = 1; + }; + }; + padding = { + scale = 1; + }; + rounding = { + scale = 1; + }; + spacing = { + scale = 1; + }; + transparency = { + enabled = false; + base = 0.85; + layers = 0.4; + }; + }; + general = { + apps = { + terminal = [ "foot" ]; + audio = [ "pavucontrol" ]; + }; + battery = { + warnLevels = [ + { + level = 20; + title = "Low battery"; + message = "You might want to plug in a charger"; + icon = "battery_android_frame_2"; + } + { + level = 10; + title = "Did you see the previous message?"; + message = "You should probably plug in a charger now"; + icon = "battery_android_frame_1"; + } + { + level = 5; + title = "Critical battery level"; + message = "PLUG THE CHARGER RIGHT NOW!!"; + icon = "battery_android_alert"; + critical = true; + } + ]; + criticalLevel = 3; + }; + idle = { + inhibitWhenAudio = true; + timeouts = [ + { + timeout = 180; + idleAction = "lock"; + } + { + timeout = 300; + idleAction = "dpms off"; + returnAction = "dpms on"; + } + { + timeout = 600; + idleAction = [ "systemctl" "suspend-then-hibernate" ]; + } + ]; + }; + }; + background = { + desktopClock = { + enabled = false; + }; + enabled = true; + visualiser = { + enabled = false; + autoHide = true; + rounding = 1; + spacing = 1; + }; + }; + bar = { + clock = { + showIcon = true; + }; + dragThreshold = 20; + entries = [ + { + id = "logo"; + enabled = true; + } + { + id = "workspaces"; + enabled = true; + } + { + id = "spacer"; + enabled = true; + } + { + id = "activeWindow"; + enabled = true; + } + { + id = "spacer"; + enabled = true; + } + { + id = "tray"; + enabled = true; + } + { + id = "clock"; + enabled = true; + } + { + id = "statusIcons"; + enabled = true; + } + { + id = "power"; + enabled = true; + } + ]; + persistent = true; + scrollActions = { + brightness = true; + workspaces = true; + volume = true; + }; + showOnHover = true; + status = { + showAudio = false; + showBattery = true; + showBluetooth = true; + showKbLayout = false; + showMicrophone = false; + showNetwork = true; + showLockStatus = true; + }; + tray = { + background = false; + iconSubs = []; + recolour = false; + }; + workspaces = { + activeIndicator = true; + activeLabel = "󰮯"; + activeTrail = false; + label = " "; + occupiedBg = false; + occupiedLabel = "󰮯"; + perMonitorWorkspaces = true; + showWindows = true; + shown = 5; + }; + }; + border = { + rounding = 25; + thickness = 10; + }; + dashboard = { + enabled = true; + dragThreshold = 50; + mediaUpdateInterval = 500; + showOnHover = true; + }; + launcher = { + actionPrefix = ">"; + actions = [ + { + name = "Calculator"; + icon = "calculate"; + description = "Do simple math equations (powered by Qalc)"; + command = [ "autocomplete" "calc" ]; + enabled = true; + dangerous = false; + } + { + name = "Scheme"; + icon = "palette"; + description = "Change the current colour scheme"; + command = [ "autocomplete" "scheme" ]; + enabled = true; + dangerous = false; + } + { + name = "Wallpaper"; + icon = "image"; + description = "Change the current wallpaper"; + command = [ "autocomplete" "wallpaper" ]; + enabled = true; + dangerous = false; + } + { + name = "Variant"; + icon = "colors"; + description = "Change the current scheme variant"; + command = [ "autocomplete" "variant" ]; + enabled = true; + dangerous = false; + } + { + name = "Transparency"; + icon = "opacity"; + description = "Change shell transparency"; + command = [ "autocomplete" "transparency" ]; + enabled = false; + dangerous = false; + } + { + name = "Random"; + icon = "casino"; + description = "Switch to a random wallpaper"; + command = [ "caelestia" "wallpaper" "-r" ]; + enabled = true; + dangerous = false; + } + { + name = "Light"; + icon = "light_mode"; + description = "Change the scheme to light mode"; + command = [ "setMode" "light" ]; + enabled = true; + dangerous = false; + } + { + name = "Dark"; + icon = "dark_mode"; + description = "Change the scheme to dark mode"; + command = [ "setMode" "dark" ]; + enabled = true; + dangerous = false; + } + { + name = "Shutdown"; + icon = "power_settings_new"; + description = "Shutdown the system"; + command = [ "systemctl" "poweroff" ]; + enabled = true; + dangerous = true; + } + { + name = "Reboot"; + icon = "cached"; + description = "Reboot the system"; + command = [ "systemctl" "reboot" ]; + enabled = true; + dangerous = true; + } + { + name = "Logout"; + icon = "exit_to_app"; + description = "Log out of the current session"; + command = [ "loginctl" "terminate-user" "" ]; + enabled = true; + dangerous = true; + } + { + name = "Lock"; + icon = "lock"; + description = "Lock the current session"; + command = [ "caelestia" "shell" "lock" "lock" ]; + enabled = true; + dangerous = false; + } + { + name = "Sleep"; + icon = "bedtime"; + description = "Suspend then hibernate"; + command = [ "systemctl" "suspend-then-hibernate" ]; + enabled = true; + dangerous = false; + } + ]; + dragThreshold = 50; + vimKeybinds = false; + enableDangerousActions = false; + maxShown = 7; + maxWallpapers = 9; + specialPrefix = "@"; + useFuzzy = { + apps = false; + actions = false; + schemes = false; + variants = false; + wallpapers = false; + }; + showOnHover = false; + hiddenApps = []; + }; + lock = { + recolourLogo = false; + }; + notifs = { + actionOnClick = false; + clearThreshold = 0.3; + defaultExpireTimeout = 5000; + expandThreshold = 20; + expire = false; + }; + osd = { + enabled = true; + enableBrightness = true; + enableMicrophone = false; + hideDelay = 2000; + }; + paths = { + mediaGif = "root:/assets/bongocat.gif"; + sessionGif = "root:/assets/kurukuru.gif"; + wallpaperDir = "~/Pictures/Wallpapers"; + }; + services = { + audioIncrement = 0.1; + defaultPlayer = "Spotify"; + playerAliases = [ + { from = "com.github.th_ch.youtube_music"; to = "YT Music"; } + ]; + gpuType = ""; + weatherLocation = ""; + useFahrenheit = false; + useTwelveHourClock = false; + smartScheme = true; + visualiserBars = 45; + }; + session = { + dragThreshold = 30; + enabled = true; + vimKeybinds = false; + commands = { + logout = [ "loginctl" "terminate-user" "" ]; + shutdown = [ "systemctl" "poweroff" ]; + hibernate = [ "systemctl" "hibernate" ]; + reboot = [ "systemctl" "reboot" ]; + }; + }; + sidebar = { + dragThreshold = 80; + enabled = true; + }; + utilities = { + enabled = true; + maxToasts = 4; + toasts = { + audioInputChanged = true; + audioOutputChanged = true; + capsLockChanged = true; + chargingChanged = true; + configLoaded = true; + dndChanged = true; + gameModeChanged = true; + numLockChanged = true; + }; + }; - nix-index.enable = true; + }; + cli = { + enable = true; # Also add caelestia-cli to path + settings = { + theme.enableGtk = false; + }; + }; + }; + + nix-index = { + enable = true; + enableZshIntegration = true; + }; lazygit.enable = true; vscode = { @@ -277,7 +662,7 @@ in ############################ # Blockchain (inputs) ############################ - inputs.caelestia-cli.packages.${pkgs.system}.caelestia-cli - inputs.caelestia.packages.${pkgs.system}.caelestia-shell + #inputs.caelestia-cli.packages.${pkgs.system}.caelestia-cli + #inputs.caelestia.packages.${pkgs.system}.caelestia-shell ]; } diff --git a/home/mrfluffy.nix b/home/mrfluffy.nix index 2175e2b..4168ebc 100755 --- a/home/mrfluffy.nix +++ b/home/mrfluffy.nix @@ -27,7 +27,7 @@ in ../dots/waybar.nix ../dots/zsh.nix ../dots/nixcord.nix - ../dots/hyprlock.nix + #../dots/hyprlock.nix ../dots/xdg.nix ../dots/river.nix ../dots/niri.nix diff --git a/home/services.nix b/home/services.nix index a2dde41..9b261ab 100644 --- a/home/services.nix +++ b/home/services.nix @@ -7,26 +7,26 @@ ... }: let - quickshellPackage = inputs.caelestia.packages.${pkgs.system}.caelestia-shell; + #quickshellPackage = inputs.caelestia.packages.${pkgs.system}.caelestia-shell; in { - systemd.user.services.quickshell = lib.mkIf (window_manager == "hyprland") { - Unit = { - Description = "QuickShell Application"; - After = [ "graphical-session.target" ]; - Requires = [ "graphical-session.target" ]; - }; + #systemd.user.services.quickshell = lib.mkIf (window_manager == "hyprland") { + # Unit = { + # Description = "QuickShell Application"; + # After = [ "graphical-session.target" ]; + # Requires = [ "graphical-session.target" ]; + # }; - Service = { - Type = "simple"; - ExecStart = "${quickshellPackage}/bin/caelestia-shell"; - ExecStartPre = "/bin/sh -c 'test -n \"$WAYLAND_DISPLAY\"'"; - Restart = "always"; - RestartSec = "5s"; - }; + # Service = { + # Type = "simple"; + # ExecStart = "${quickshellPackage}/bin/caelestia-shell"; + # ExecStartPre = "/bin/sh -c 'test -n \"$WAYLAND_DISPLAY\"'"; + # Restart = "always"; + # RestartSec = "5s"; + # }; - Install = { - WantedBy = [ "graphical-session.target" ]; - }; - }; + # Install = { + # WantedBy = [ "graphical-session.target" ]; + # }; + #}; } diff --git a/home/work.nix b/home/work.nix index 1f15b28..0ead51d 100755 --- a/home/work.nix +++ b/home/work.nix @@ -27,7 +27,7 @@ in ../dots/waybar.nix ../dots/zsh.nix ../dots/nixcord.nix - ../dots/hyprlock.nix + #../dots/hyprlock.nix ../dots/xdg.nix ../dots/river.nix ../dots/niri.nix diff --git a/system/hardware.nix b/system/hardware.nix index b50bb0b..24c5147 100755 --- a/system/hardware.nix +++ b/system/hardware.nix @@ -57,7 +57,7 @@ in enable = true; # Enable Bluetooth support powerOnBoot = true; # Power up controller on boot settings.General = { - Enable = "Source,Sink,Media,Socket"; + #Enable = "Source,Sink,Media,Socket"; # Experimental = true; }; }; @@ -67,6 +67,10 @@ in enable = true; daemon.enable = true; }; + hardware.enableRedistributableFirmware = true; + hardware.firmware = [ + pkgs.linux-firmware + ]; # ── Audio (disabled examples) ─────────────────────────────────────────────── # sound.enable = true; diff --git a/system/network.nix b/system/network.nix index 898d2d1..7400a19 100755 --- a/system/network.nix +++ b/system/network.nix @@ -44,6 +44,7 @@ in ''; nameservers = [ "192.168.1.1" + "1.1.1.1" ]; search = [ "localdomain" diff --git a/system/nixOSPkgs.nix b/system/nixOSPkgs.nix index d1fe9ca..cc2d052 100755 --- a/system/nixOSPkgs.nix +++ b/system/nixOSPkgs.nix @@ -64,15 +64,36 @@ in ]; }; + + ############################ # Core programs ############################ programs = { + + appimage = { + enable = true; + binfmt = true; # Optional: Allows direct execution of .AppImage files without `appimage-run` prefix + package = pkgs.appimage-run.override { + extraPkgs = pkgs: with pkgs; [ + libepoxy + jdk17 + # Add more if needed, e.g., libGL libGLU for OpenGL issues + ]; + }; + }; gamescope = { enable = true; capSysNice = true; }; + nix-index-database = { + comma = { + enable = true; + }; + }; + + nh = { enable = true; clean = {