This is definitely a hack

This commit is contained in:
2022-04-25 22:21:43 +01:00
parent e622acbb9d
commit 79a2530a8f
3 changed files with 9 additions and 9 deletions

View File

@@ -16,12 +16,15 @@
home-manager, home-manager,
i3utils, i3utils,
... ...
} @ inputs: let }: let
system = "x86_64-linux"; system = "x86_64-linux";
pkgs = import nixpkgs { pkgs =
inherit system; (import nixpkgs {
}; inherit system;
config.allowUnfree = true;
})
// {i3utils = i3utils.packages.${system}.default;};
lib = nixpkgs.lib; lib = nixpkgs.lib;
@@ -31,6 +34,7 @@
}: }:
lib.nixosSystem { lib.nixosSystem {
inherit system; inherit system;
inherit pkgs;
modules = [ modules = [
./hosts/${hostname}/configuration.nix ./hosts/${hostname}/configuration.nix
@@ -47,8 +51,6 @@
}; };
} }
]; ];
specialArgs = {inherit inputs;};
}; };
in { in {
nixosConfigurations = { nixosConfigurations = {

View File

@@ -9,8 +9,6 @@
boot.loader.systemd-boot.enable = lib.mkDefault true; boot.loader.systemd-boot.enable = lib.mkDefault true;
boot.loader.efi.canTouchEfiVariables = lib.mkDefault true; boot.loader.efi.canTouchEfiVariables = lib.mkDefault true;
nixpkgs.config.allowUnfree = true;
# nix flakes compatibility # nix flakes compatibility
nix = { nix = {
extraOptions = '' extraOptions = ''

View File

@@ -42,7 +42,7 @@
extraPackages = with pkgs; [ extraPackages = with pkgs; [
flameshot flameshot
i3lock i3lock
inputs.i3utils i3utils
]; ];
}; };
}; };