Nix Flakes configuration for MacOS, NixOS and WSL
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat: rollback to stable channel for most packages

+58 -13
+25 -7
flake.lock
··· 114 114 ] 115 115 }, 116 116 "locked": { 117 - "lastModified": 1732025103, 118 - "narHash": "sha256-qjEI64RKvDxRyEarY0jTzrZMa8ebezh2DEZmJJrpVdo=", 117 + "lastModified": 1731880681, 118 + "narHash": "sha256-FmYTkIyPBUxSWgA7DPIVTsCCMvSSbs56yOtHpLNSnKg=", 119 119 "owner": "nix-community", 120 120 "repo": "home-manager", 121 - "rev": "a46e702093a5c46e192243edbd977d5749e7f294", 121 + "rev": "aecd341dfead1c3ef7a3c15468ecd71e8343b7c6", 122 122 "type": "github" 123 123 }, 124 124 "original": { 125 125 "owner": "nix-community", 126 + "ref": "release-24.11", 126 127 "repo": "home-manager", 127 128 "type": "github" 128 129 } ··· 151 152 }, 152 153 "nixpkgs": { 153 154 "locked": { 154 - "lastModified": 1731676054, 155 - "narHash": "sha256-OZiZ3m8SCMfh3B6bfGC/Bm4x3qc1m2SVEAlkV6iY7Yg=", 155 + "lastModified": 1731755305, 156 + "narHash": "sha256-v5P3dk5JdiT+4x69ZaB18B8+Rcu3TIOrcdG4uEX7WZ8=", 156 157 "owner": "nixos", 157 158 "repo": "nixpkgs", 158 - "rev": "5e4fbfb6b3de1aa2872b76d49fafc942626e2add", 159 + "rev": "057f63b6dc1a2c67301286152eb5af20747a9cb4", 159 160 "type": "github" 160 161 }, 161 162 "original": { 162 163 "owner": "nixos", 163 - "ref": "nixos-unstable", 164 + "ref": "nixos-24.11", 164 165 "repo": "nixpkgs", 165 166 "type": "github" 166 167 } ··· 188 189 "nixos-wsl": "nixos-wsl", 189 190 "nixpkgs": "nixpkgs", 190 191 "snowfall-lib": "snowfall-lib", 192 + "unstable": "unstable", 191 193 "zen-browser": "zen-browser" 192 194 } 193 195 }, ··· 240 242 "original": { 241 243 "owner": "nix-systems", 242 244 "repo": "default", 245 + "type": "github" 246 + } 247 + }, 248 + "unstable": { 249 + "locked": { 250 + "lastModified": 1731890469, 251 + "narHash": "sha256-D1FNZ70NmQEwNxpSSdTXCSklBH1z2isPR84J6DQrJGs=", 252 + "owner": "nixos", 253 + "repo": "nixpkgs", 254 + "rev": "5083ec887760adfe12af64830a66807423a859a7", 255 + "type": "github" 256 + }, 257 + "original": { 258 + "owner": "nixos", 259 + "ref": "nixpkgs-unstable", 260 + "repo": "nixpkgs", 243 261 "type": "github" 244 262 } 245 263 },
+3 -2
flake.nix
··· 1 1 { 2 2 inputs = { 3 - nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; 3 + nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11"; 4 + unstable.url = "github:nixos/nixpkgs/nixpkgs-unstable"; 4 5 5 6 darwin = { 6 7 url = "github:LnL7/nix-darwin"; ··· 13 14 }; 14 15 15 16 home-manager = { 16 - url = "github:nix-community/home-manager"; 17 + url = "github:nix-community/home-manager/release-24.11"; 17 18 inputs.nixpkgs.follows = "nixpkgs"; 18 19 }; 19 20
+20 -3
modules/darwin/desktop/aerospace/default.nix
··· 6 6 in 7 7 { 8 8 options.${namespace}.desktop.aerospace = with types; { 9 - enable = mkBoolOpt false "Wheter or not to enable aerospace WM."; 9 + enable = mkBoolOpt false "Wheter or not to enable aerospace WM suite."; 10 10 }; 11 11 12 12 config = mkIf cfg.enable { 13 - homebrew.casks = [ "nikitabobko/tap/aerospace" ]; 14 - # TODO add skhd, sketchybar and yankyborder 13 + services.aerospace = { 14 + enable = true; 15 + }; 16 + # Use i3 like config as default 15 17 asgard.home.file.".config/aerospace/aerospace.toml".source = ./i3-like-default.toml; 18 + 19 + # Enable skhd to overide keyboard inputs and make other layout than qwerty functional 20 + services.skhd = { 21 + enable = true; 22 + }; 23 + 24 + # Use jankyboarders to see which window is in focus 25 + services.jankyborders = { 26 + enable = true; 27 + }; 28 + 29 + # Use sketcybar to replace default macos bar and have something customizable 30 + services.sketchybar = { 31 + enable = true; 32 + }; 16 33 }; 17 34 }
+4
overlays/deno/default.nix
··· 1 + { channels, ... }: 2 + final: prev: { 3 + inherit (channels.unstable) deno; 4 + }
+4
overlays/zed-editor/default.nix
··· 1 + { channels, ... }: 2 + final: prev: { 3 + inherit (channels.unstable) zed-editor; 4 + }
+2 -1
systems/aarch64-darwin/njord/default.nix
··· 2 2 with lib; 3 3 with lib.${namespace}; 4 4 { 5 - asgard.desktop.aerospace.enable = true; 5 + asgard.desktop.amethyst.enable = true; 6 6 7 7 # Enable sudo via TouchID 8 8 security.pam.enableSudoTouchIdAuth = true; ··· 92 92 php83Packages.composer 93 93 nodejs_20 94 94 python310 95 + vscodium 95 96 96 97 # CLI 97 98 neovim