Nix Flakes configuration for MacOS, NixOS and WSL
0
fork

Configure Feed

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

wip: elli server

cosmeak 4eb91981 c8d3b923

+90 -18
+38
flake.lock
··· 143 143 "type": "github" 144 144 } 145 145 }, 146 + "microvm": { 147 + "inputs": { 148 + "nixpkgs": [ 149 + "nixpkgs" 150 + ], 151 + "spectrum": "spectrum" 152 + }, 153 + "locked": { 154 + "lastModified": 1773018425, 155 + "narHash": "sha256-fpgZBmZpKoEXEowBK/6m8g9FcOLWQ4UxhXHqCw2CpSM=", 156 + "owner": "microvm-nix", 157 + "repo": "microvm.nix", 158 + "rev": "25ebda3c558e923720c965832dc9a04f559a055c", 159 + "type": "github" 160 + }, 161 + "original": { 162 + "owner": "microvm-nix", 163 + "repo": "microvm.nix", 164 + "type": "github" 165 + } 166 + }, 146 167 "nix-cachyos-kernel": { 147 168 "inputs": { 148 169 "cachyos-kernel": "cachyos-kernel", ··· 338 359 "darwin": "darwin", 339 360 "flake-parts": "flake-parts", 340 361 "hjem": "hjem", 362 + "microvm": "microvm", 341 363 "nix-cachyos-kernel": "nix-cachyos-kernel", 342 364 "nix-minecraft": "nix-minecraft", 343 365 "nixos-hardware": "nixos-hardware", ··· 389 411 "owner": "feel-co", 390 412 "repo": "smfh", 391 413 "type": "github" 414 + } 415 + }, 416 + "spectrum": { 417 + "flake": false, 418 + "locked": { 419 + "lastModified": 1772189877, 420 + "narHash": "sha256-i1p90Rgssb//aNiTDFq46ZG/fk3LmyRLChtp/9lddyA=", 421 + "ref": "refs/heads/main", 422 + "rev": "fe39e122d898f66e89ffa17d4f4209989ccb5358", 423 + "revCount": 1255, 424 + "type": "git", 425 + "url": "https://spectrum-os.org/git/spectrum" 426 + }, 427 + "original": { 428 + "type": "git", 429 + "url": "https://spectrum-os.org/git/spectrum" 392 430 } 393 431 }, 394 432 "systems": {
+4
flake.nix
··· 24 24 25 25 # CachyOS kernel 26 26 nix-cachyos-kernel.url = "github:xddxdd/nix-cachyos-kernel/release"; 27 + 28 + # MicroVM for server usage 29 + microvm.url = "github:microvm-nix/microvm.nix"; 30 + microvm.inputs.nixpkgs.follows = "nixpkgs"; 27 31 }; 28 32 29 33 outputs = inputs@{ flake-parts, ... }:
+14 -5
modules/features/bootloader.nix
··· 1 1 { 2 - flake.nixosModules.bootloader = { ... }: { 3 - boot.loader.grub.enable = true; 4 - boot.loader.grub.device = "nodev"; 5 - boot.loader.grub.useOSProber = true; 6 - boot.loader.grub.efiSupport = true; 2 + flake.nixosModules.bootloader = { pkgs, ... }: { 7 3 boot.loader.efi.canTouchEfiVariables = true; 4 + 5 + boot.loader.grub = { 6 + enable = true; 7 + device = "nodev"; 8 + useOSProber = true; 9 + efiSupport = true; 10 + }; 11 + 12 + # boot.loader.refind = { 13 + # enable = true; 14 + # maxGenerations = 5; 15 + # additionalFiles = { "efi/memtest86/memtest86.efi" = "${pkgs.memtest86-efi}/BOOTX64.efi"; }; 16 + # }; 8 17 }; 9 18 }
+20
modules/hosts/elli/configuration.nix
··· 1 + { inputs, ... }: 2 + { 3 + flake.nixosModules.elli = { ... }: { 4 + inputs = 5 + with inputs.self.nixosModules; 6 + with inputs.self.factory; 7 + [ 8 + inputs.microvm.nixosModules.host 9 + bootloader 10 + auto-upgrade 11 + ]; 12 + 13 + 14 + }; 15 + 16 + hosts.elli = { 17 + system = "x86_64-linux"; 18 + modules = [ inputs.self.nixosModules.elli ]; 19 + }; 20 + }
+1 -1
modules/hosts/loki/configuration.nix
··· 20 20 nixpkgs.overlays = [ inputs.self.overlays.unstable ]; 21 21 22 22 environment.systemPackages = with pkgs; [ 23 + catppuccin-cursors.latteYellow 23 24 git 24 25 just 25 26 nixd 26 - unstable.brioche 27 27 ]; 28 28 29 29 networking.networkmanager.enable = true;
+2 -2
modules/hosts/syn/configuration.nix
··· 6 6 ]; 7 7 }; 8 8 9 - hosts.sunna = { 10 - system = ""; 9 + hosts.syn = { 10 + system = "aarch64-linux"; 11 11 modules = [ inputs.self.nixosModules.syn ]; 12 12 }; 13 13 }
+11 -10
modules/users/cosmeak.nix
··· 48 48 (factoryOutput.darwinModules.${username} or {}) 49 49 ({ pkgs, ... }: { 50 50 environment.systemPackages = with pkgs; [ 51 - alt-tab-macos # alt tab like windows on macos 52 - bruno # IDE for testing apis 53 - chirp # Radio programming tool 54 - dbeaver-bin # Database client 55 - ghostty-bin # Terminal emulator 56 - jujutsu # VCS 57 - stats # System monitoring displayed in macos top bar 58 - podman # container tool -> replacement of docker 59 - podman-compose # compose provider for podman 51 + alt-tab-macos # alt tab like windows on macos 52 + bruno # IDE for testing apis 53 + chirp # Radio programming tool 54 + dbeaver-bin # Database client 55 + ghostty-bin # Terminal emulator 56 + jujutsu # VCS 57 + stats # System monitoring displayed in macos top bar 58 + podman # container tool -> replacement of docker 59 + podman-compose # compose provider for podman 60 60 61 - unstable.librewolf # build failed on stable for darwin 61 + unstable.brioche # Another package manager 62 + unstable.librewolf # build failed on stable for darwin 62 63 ] ++ (sharedPackages pkgs); 63 64 }) 64 65 ];