bweh
This commit is contained in:
parent
09aa7681bd
commit
cb933d885d
1 changed files with 22 additions and 29 deletions
13
flake.nix
13
flake.nix
|
@ -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;
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue