Nix Flakes configuration for MacOS, NixOS and WSL
0
fork

Configure Feed

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

bump: update lock | chore: remane config to machines

+32 -32
+11 -9
README.md
··· 59 59 60 60 ``` 61 61 . 62 - ├── users # User home configuration 63 - │ │ ├── commons 64 - │ │ └── <hostname> 65 - ├── config # Host-specific configuration 62 + ├── hardware # Specific hardware configuration 63 + ├── lib # Custom functions needed to help configure 64 + ├── machines # Host-specific configuration 66 65 │ └── <os> # Darwin or NixOS 67 66 │ │ └── <hostname> 68 - ├── lib # Custom functions needed to help configure 69 - ├── modules # macOS and nix-darwin, NixOS, and shared configuration 67 + ├── modules # Darwin, NixOS, and shared configuration 70 68 │ ├── commons 71 69 │ ├── nixos 72 - │ ├── darwin 73 - │ └── bsd 70 + │ └── darwin 71 + ├── packages 74 72 ├── overlays 75 - └── templates 73 + ├── templates 74 + └── users # User home configuration 75 + ├── commons 76 + │ └── <username> 77 + └── <hostname> 76 78 ``` 77 79 78 80 ### 📚️ - Acknowledgments
-1
config/darwin/helium/default.nix machines/darwin/helium/default.nix
··· 21 21 # System wide packages 22 22 environment.systemPackages = with pkgs; [ 23 23 lazygit 24 - kitty 25 24 just 26 25 firefox 27 26 spotify
-1
config/darwin/helium/homebrew/brews.nix machines/darwin/helium/homebrew/brews.nix
··· 1 1 { 2 2 homebrew.brews = [ 3 3 "cocoapods" 4 - "aws-amplify" 5 4 "wallpapper" 6 5 ]; 7 6 }
+1 -2
config/darwin/helium/homebrew/casks.nix machines/darwin/helium/homebrew/casks.nix
··· 1 1 { 2 2 homebrew.casks = [ 3 - "beekeeper-studio" # find a better alternative 4 3 "insomnia" 5 4 "orbstack" # replace with simple docker desktop 6 5 "figma" ··· 13 12 "1password" 14 13 "discord" # use this one since nixpkgs doesn't have krisp 15 14 "modrinth" 16 - "github" 17 15 # "logitech-g-hub" # Error when trying to install it 16 + "ghostty" 18 17 ]; 19 18 }
config/darwin/helium/homebrew/default.nix machines/darwin/helium/homebrew/default.nix
+1
config/darwin/helium/homebrew/masapps.nix machines/darwin/helium/homebrew/masapps.nix
··· 2 2 # Apps from App Store 3 3 homebrew.masApps = { 4 4 Xcode = 497799835; 5 + Slack = 803453959; 5 6 }; 6 7 }
config/darwin/helium/system/default.nix machines/darwin/helium/system/default.nix
+1 -1
config/darwin/helium/system/dock.nix machines/darwin/helium/system/dock.nix
··· 11 11 tilesize = 32; # Set dock size 12 12 13 13 # Set dock apps (remove all apps from dock) 14 - persistent-apps = []; 14 + persistent-apps = [ "/Applications/Launchpad.app" ]; 15 15 16 16 # Disable hot corners 17 17 wvous-bl-corner = 1;
config/darwin/helium/system/finder.nix machines/darwin/helium/system/finder.nix
config/darwin/helium/system/nsglobaldomain.nix machines/darwin/helium/system/nsglobaldomain.nix
config/nixos/beryllium/default.nix machines/nixos/beryllium/default.nix
config/nixos/boron/default.nix machines/nixos/boron/default.nix
config/nixos/carbon/default.nix machines/nixos/carbon/default.nix
config/nixos/hydrogen/default.nix machines/nixos/hydrogen/default.nix
config/nixos/hydrogen/hardware.nix machines/nixos/hydrogen/hardware.nix
config/nixos/lithium/default.nix machines/nixos/lithium/default.nix
+12 -12
flake.lock
··· 38 38 }, 39 39 "hardware": { 40 40 "locked": { 41 - "lastModified": 1744633460, 42 - "narHash": "sha256-fbWE4Xpw6eH0Q6in+ymNuDwTkqmFmtxcQEmtRuKDTTk=", 41 + "lastModified": 1745503349, 42 + "narHash": "sha256-bUGjvaPVsOfQeTz9/rLTNLDyqbzhl0CQtJJlhFPhIYw=", 43 43 "owner": "NixOS", 44 44 "repo": "nixos-hardware", 45 - "rev": "9a049b4a421076d27fee3eec664a18b2066824cb", 45 + "rev": "f7bee55a5e551bd8e7b5b82c9bc559bc50d868d1", 46 46 "type": "github" 47 47 }, 48 48 "original": { ··· 60 60 ] 61 61 }, 62 62 "locked": { 63 - "lastModified": 1745044299, 64 - "narHash": "sha256-/A/xjRjJY9CGcgOHQ5kTxV7VIJxac86i6NQ5CejMzZc=", 63 + "lastModified": 1745487384, 64 + "narHash": "sha256-WvQ4XXi0vMtEpPqhfo8ztxjeaeHkbW5tfR4O5+w8r5U=", 65 65 "owner": "Jovian-Experiments", 66 66 "repo": "Jovian-NixOS", 67 - "rev": "c7ff1a4578eb11ef84288941aa23e385b6fde635", 67 + "rev": "0168e4a65c9d43c22ac38ff27f5fa31c7d535148", 68 68 "type": "github" 69 69 }, 70 70 "original": { ··· 97 97 }, 98 98 "nixpkgs": { 99 99 "locked": { 100 - "lastModified": 1744932701, 101 - "narHash": "sha256-fusHbZCyv126cyArUwwKrLdCkgVAIaa/fQJYFlCEqiU=", 100 + "lastModified": 1745526057, 101 + "narHash": "sha256-ITSpPDwvLBZBnPRS2bUcHY3gZSwis/uTe255QgMtTLA=", 102 102 "owner": "nixos", 103 103 "repo": "nixpkgs", 104 - "rev": "b024ced1aac25639f8ca8fdfc2f8c4fbd66c48ef", 104 + "rev": "f771eb401a46846c1aebd20552521b233dd7e18b", 105 105 "type": "github" 106 106 }, 107 107 "original": { ··· 113 113 }, 114 114 "nixpkgs-stable": { 115 115 "locked": { 116 - "lastModified": 1744440957, 117 - "narHash": "sha256-FHlSkNqFmPxPJvy+6fNLaNeWnF1lZSgqVCl/eWaJRc4=", 116 + "lastModified": 1745487689, 117 + "narHash": "sha256-FQoi3R0NjQeBAsEOo49b5tbDPcJSMWc3QhhaIi9eddw=", 118 118 "owner": "nixos", 119 119 "repo": "nixpkgs", 120 - "rev": "26d499fc9f1d567283d5d56fcf367edd815dba1d", 120 + "rev": "5630cf13cceac06cefe9fc607e8dfa8fb342dde3", 121 121 "type": "github" 122 122 }, 123 123 "original": {
+6 -6
flake.nix
··· 62 62 hostname = "hydrogen"; 63 63 }; 64 64 modules = [ 65 - ./config/nixos/hydrogen 65 + ./machines/nixos/hydrogen 66 66 inputs.jovian.nixosModules.default 67 67 ] ++ nixosModules; 68 68 }; ··· 74 74 inherit inputs; 75 75 hostname = "beryllium"; 76 76 }; 77 - modules = [ 78 - inputs.wsl.nixosModules.default 79 - ./config/nixos/beryllium 77 + modules = [ 78 + inputs.wsl.nixosModules.default 79 + ./machines/nixos/beryllium 80 80 ] ++ nixosModules; 81 81 }; 82 82 ··· 88 88 hostname = "lithium"; 89 89 }; 90 90 modules = [ 91 - ./config/nixos/lithium 91 + ./machines/nixos/lithium 92 92 inputs.hardware.nixosModules.raspberry-pi-4 93 93 "${nixpkgs}/nixos/modules/profiles/minimal.nix" 94 94 ] ++ nixosModules; ··· 104 104 inherit inputs; 105 105 hostname = "helium"; 106 106 }; 107 - modules = [ ./config/darwin/helium ] ++ darwinModules; 107 + modules = [ ./machines/darwin/helium ] ++ darwinModules; 108 108 }; 109 109 }; 110 110