From 3dfbf67be9964dfcb2711950ef7fe8f4d5e6789d Mon Sep 17 00:00:00 2001 From: Sneexy Date: Wed, 17 Apr 2024 17:41:34 -0500 Subject: [PATCH] remove home manager imports because it doesn't seem to work --- config/common.nix | 9 +++++++++ config/packages.nix | 3 --- flake.nix | 4 ---- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/config/common.nix b/config/common.nix index c576d8a..249c5b8 100644 --- a/config/common.nix +++ b/config/common.nix @@ -1,6 +1,15 @@ { config, pkgs, ... }: { + # Allow unfree packages + nixpkgs.config.allowUnfree = true; + + # auto optimize store and experimental features + nix.settings = { + experimental-features = [ "nix-command" "flakes" ]; + auto-optimise-store = true; + }; + # Enable networking networking.networkmanager.enable = true; diff --git a/config/packages.nix b/config/packages.nix index 7344110..2895ce1 100644 --- a/config/packages.nix +++ b/config/packages.nix @@ -1,9 +1,6 @@ { config, pkgs, ... }: { - # Allow unfree packages - nixpkgs.config.allowUnfree = true; - # List packages installed in system profile. To search, run: # $ nix search wget # diff --git a/flake.nix b/flake.nix index 01a8f1d..c2b4416 100644 --- a/flake.nix +++ b/flake.nix @@ -94,7 +94,6 @@ modules = with self.nixosModules; [ # nixos configuration file (and others) for thunkpad ./machines/thunkpad - declarativeHome ./users/ruben # fingerprint modules nixos-06cb-009a-fingerprint-sensor.nixosModules.open-fprintd nixos-06cb-009a-fingerprint-sensor.nixosModules.python-validity @@ -106,7 +105,6 @@ modules = with self.nixosModules; [ # nixos configuration file (and others) for thonkpad ./machines/thonkpad - declarativeHome ./users/ruben ]; }; }; @@ -121,7 +119,6 @@ extraSpecialArgs = {inherit inputs outputs;}; modules = [ ./machines/thunkpad - declarativeHome ./users/ruben ]; }; # secondary device @@ -130,7 +127,6 @@ extraSpecialArgs = {inherit inputs outputs;}; modules = [ ./machines/thonkpad - declarativeHome ./users/ruben ]; }; };