This commit is contained in:
Natalie Marks 2024-09-27 15:15:30 -07:00
parent 09aa7681bd
commit cb933d885d

View file

@ -46,6 +46,7 @@
nixpkgs-stable,
home-manager,
stylix,
darwin,
blocklist-hosts,
hyprland-plugins,
zig,
@ -58,7 +59,6 @@
inputs.zig.overlays.default
];
pkgs = import nixpkgs {
system = systemSettings.system;
config = {
allowUnfree = true;
allowUnfreePredicate = _: true;
@ -67,7 +67,6 @@
};
pkgs-stable = import nixpkgs-stable {
system = systemSettings.system;
config = {
allowUnfree = true;
allowUnfreePredicate = _: true;
@ -75,12 +74,10 @@
overlays = [];
};
lib = nixpkgs.lib;
in {
nixosConfigurations = {
nixos = lib.nixosSystem {
system = systemSettings.system;
modules = [
nixos-cosmic.nixosModules.default
./configuration.nix
@ -91,8 +88,6 @@
home-manager.users.nmarks = import ./hosts/desktop/home.nix;
home-manager.extraSpecialArgs = {
inherit pkgs-stable;
inherit systemSettings;
inherit userSettings;
inherit stylix;
inherit hyprland-plugins;
inherit zls;
@ -103,8 +98,6 @@
specialArgs = {
inherit inputs;
inherit pkgs-stable;
inherit systemSettings;
inherit userSettings;
inherit stylix;
inherit blocklist-hosts;
};
@ -120,9 +113,9 @@
home-manager.useUserPackages = true;
home-manager.users.nmarks = import ./hosts/laptop/home.nix;
users.users.nmarks.home = "/Users/nmarks";
};
}
];
specialArgs = { inherit nixpkgs; };
specialArgs = {inherit nixpkgs;};
};
# nixos = inputs.self.nixosConfigurations.nmarks;
#