|
8 | 8 | dev.url = "github:esselius/dev"; |
9 | 9 | dev.inputs.nixpkgs.follows = "nixpkgs-unstable"; |
10 | 10 |
|
11 | | - nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11"; |
| 11 | + nixpkgs.follows = "nixpkgs-unstable"; |
12 | 12 | nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; |
13 | 13 | nixpkgs-darwin.follows = "nixpkgs-unstable"; |
| 14 | + nixpkgs-nixos.url = "github:NixOS/nixpkgs/nixos-24.11"; |
14 | 15 |
|
15 | | - # cfg-work.url = "github:esselius/cfg-work"; |
16 | 16 | raspberry-pi-nix.url = "github:tstat/raspberry-pi-nix/v0.4.1"; |
17 | 17 | raspberry-pi-nix.inputs.nixpkgs.follows = "nixpkgs"; |
18 | 18 | authentik-nix = { |
|
34 | 34 | krewfile.inputs.nixpkgs.follows = "nixpkgs"; |
35 | 35 |
|
36 | 36 | flake-parts.url = "github:hercules-ci/flake-parts"; |
37 | | - ez-configs = { |
38 | | - url = "github:ehllie/ez-configs"; |
39 | | - inputs.nixpkgs.follows = "nixpkgs"; |
40 | | - inputs.flake-parts.follows = "flake-parts"; |
41 | | - }; |
42 | 37 |
|
43 | 38 | agenix = { |
44 | 39 | url = "github:ryantm/agenix"; |
|
59 | 54 | flake-parts.lib.mkFlake { inherit inputs; } { |
60 | 55 | imports = [ |
61 | 56 | inputs.dev.flakeModule |
62 | | - inputs.ez-configs.flakeModule |
63 | 57 | ]; |
64 | 58 |
|
65 | 59 | systems = [ "x86_64-linux" "aarch64-linux" "aarch64-darwin" "x86_64-darwin" ]; |
66 | 60 |
|
67 | | - ezConfigs = { |
68 | | - root = ./.; |
69 | | - globalArgs = { inherit inputs; }; |
| 61 | + flake.darwinConfigurations.Fox = inputs.nix-darwin.lib.darwinSystem { |
| 62 | + modules = [ |
| 63 | + ./darwin-modules/default.nix |
| 64 | + ./darwin-modules/tiling-wm.nix |
| 65 | + ./darwin-modules/homebrew-packages |
| 66 | + ./darwin-modules/linux-builder.nix |
| 67 | + inputs.nix-homebrew.darwinModules.nix-homebrew |
| 68 | + { |
| 69 | + nixpkgs.hostPlatform = "aarch64-darwin"; |
70 | 70 |
|
71 | | - darwin.hosts = { |
72 | | - Fox.userHomeModules = [ "peteresselius" ]; |
73 | | - }; |
74 | | - nixos.hosts = { |
75 | | - adama.userHomeModules = [ "peteresselius" ]; |
76 | | - vm.userHomeModules = [ "peteresselius" ]; |
77 | | - starbuck.userHomeModules = [ "peteresselius" ]; |
78 | | - }; |
| 71 | + context = "home"; |
| 72 | + formfactor = "desktop"; |
| 73 | + mainUser = "peteresselius"; |
| 74 | + |
| 75 | + system.stateVersion = 4; |
| 76 | + nixpkgs-path = inputs.nixpkgs; |
| 77 | + } |
| 78 | + ]; |
| 79 | + specialArgs = { inherit inputs; }; |
79 | 80 | }; |
| 81 | + |
80 | 82 | dev.enable = true; |
81 | 83 | }; |
82 | 84 | } |
0 commit comments