authorgravatar for nmarks413@gmail.comNatalie Marks <nmarks413@gmail.com> 2024-09-27 15:15:30-07:00
committergravatar for nmarks413@gmail.comNatalie Marks <nmarks413@gmail.com> 2024-09-27 15:15:30-07:00
logcb933d885d8c9ca111fda3059e1f61f944d828a8
treeb5e2abc743c68907fcd1067eaa6e2815ad01a00b
parent09aa7681bd11d8571026a8e46fefb09a4f13e84d

bweh


1 files changed, 22 insertions(+), 29 deletions(-)

flake.nix+22-29
......@@ -46,6 +46,7 @@
4646 nixpkgs-stable,
4747 home-manager,
4848 stylix,
49 darwin,
4950 blocklist-hosts,
5051 hyprland-plugins,
5152 zig,
......@@ -58,7 +59,6 @@
5859 inputs.zig.overlays.default
5960 ];
6061 pkgs = import nixpkgs {
61 system = systemSettings.system;
6262 config = {
6363 allowUnfree = true;
6464 allowUnfreePredicate = _: true;
......@@ -67,7 +67,6 @@
6767 };
6868
6969 pkgs-stable = import nixpkgs-stable {
70 system = systemSettings.system;
7170 config = {
7271 allowUnfree = true;
7372 allowUnfreePredicate = _: true;
......@@ -75,36 +74,30 @@
7574 overlays = [];
7675 };
7776
78
7977 lib = nixpkgs.lib;
8078 in {
8179 nixosConfigurations = {
8280 nixos = lib.nixosSystem {
83 system = systemSettings.system;
8481 modules = [
8582 nixos-cosmic.nixosModules.default
8683 ./configuration.nix
8784 home-manager.nixosModules.home-manager
8885 {
8986 home-manager.useGlobalPkgs = true;
90 home-manager.useUserPackages = true;
91 home-manager.users.nmarks = import ./hosts/desktop/home.nix;
92 home-manager.extraSpecialArgs = {
93 inherit pkgs-stable;
94 inherit systemSettings;
95 inherit userSettings;
96 inherit stylix;
97 inherit hyprland-plugins;
98 inherit zls;
99 inherit ghostty;
100 };
87 home-manager.useUserPackages = true;
88 home-manager.users.nmarks = import ./hosts/desktop/home.nix;
89 home-manager.extraSpecialArgs = {
90 inherit pkgs-stable;
91 inherit stylix;
92 inherit hyprland-plugins;
93 inherit zls;
94 inherit ghostty;
95 };
10196 }
10297 ];
10398 specialArgs = {
10499 inherit inputs;
105100 inherit pkgs-stable;
106 inherit systemSettings;
107 inherit userSettings;
108101 inherit stylix;
109102 inherit blocklist-hosts;
110103 };
......@@ -112,18 +105,18 @@
112105 };
113106 darwinSystem = darwin.lib.darwinSystem {
114107 system = "aarch64-darwin";
115 modules = [
116 ./hosts/laptop/configuration.nix
117 home-manager.darwinModules.home-manager
118 {
119 home-manager.useGlobalPkgs = true;
120 home-manager.useUserPackages = true;
121 home-manager.users.nmarks = import ./hosts/laptop/home.nix;
122 users.users.nmarks.home = "/Users/nmarks";
123 };
124 ];
125 specialArgs = { inherit nixpkgs; };
126 };
108 modules = [
109 ./hosts/laptop/configuration.nix
110 home-manager.darwinModules.home-manager
111 {
112 home-manager.useGlobalPkgs = true;
113 home-manager.useUserPackages = true;
114 home-manager.users.nmarks = import ./hosts/laptop/home.nix;
115 users.users.nmarks.home = "/Users/nmarks";
116 }
117 ];
118 specialArgs = {inherit nixpkgs;};
119 };
127120 # nixos = inputs.self.nixosConfigurations.nmarks;
128121 #
129122 #