summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--flake.nix20
-rw-r--r--hosts/laptop-nixos/configuration.nix1
2 files changed, 8 insertions, 13 deletions
diff --git a/flake.nix b/flake.nix
index bc97385..ed24def 100644
--- a/flake.nix
+++ b/flake.nix
@@ -11,20 +11,14 @@
};
outputs = { self, nixpkgs, ... }@inputs:
- let
- pkgs = import nixpkgs {
- system = "x86_64-linux";
- config.allowUnfree = true;
- };
- in
{
- nixosConfigurations = {
- laptop-nixos = nixpkgs.lib.nixosSystem {
- specialArgs = {inherit inputs pkgs;};
- modules = [
- ./hosts/laptop-nixos/configuration.nix
- ];
+ nixosConfigurations = {
+ laptop-nixos = nixpkgs.lib.nixosSystem {
+ specialArgs = {inherit inputs;};
+ modules = [
+ ./hosts/laptop-nixos/configuration.nix
+ ];
+ };
};
};
- };
}
diff --git a/hosts/laptop-nixos/configuration.nix b/hosts/laptop-nixos/configuration.nix
index 5e73c74..4e11109 100644
--- a/hosts/laptop-nixos/configuration.nix
+++ b/hosts/laptop-nixos/configuration.nix
@@ -79,6 +79,7 @@
home-manager = {
extraSpecialArgs = { inherit inputs pkgs; };
useUserPackages = true;
+ useGlobalPkgs = true;
users = {
"kyren" = import ./home.nix;
};