summaryrefslogtreecommitdiff
path: root/nixos
diff options
context:
space:
mode:
Diffstat (limited to 'nixos')
-rw-r--r--nixos/gui.nix2
-rw-r--r--nixos/nix.nix3
-rw-r--r--nixos/users.nix11
3 files changed, 5 insertions, 11 deletions
diff --git a/nixos/gui.nix b/nixos/gui.nix
index 82a1328..7c76a43 100644
--- a/nixos/gui.nix
+++ b/nixos/gui.nix
@@ -10,7 +10,7 @@ in {
services.xserver = {
displayManager.lightdm = {
- background = background-image;
+ # background = background-image;
greeters.gtk = {
extraConfig = ''
user-background = false
diff --git a/nixos/nix.nix b/nixos/nix.nix
index 01f86e7..15337bb 100644
--- a/nixos/nix.nix
+++ b/nixos/nix.nix
@@ -10,8 +10,7 @@
system.autoUpgrade.flags =
let update-input = input: [ "--update-input" input ];
- in update-input "home-manager" ++ update-input "nixos-hardware"
- ++ [ "--impure" ];
+ in update-input "home-manager" ++ update-input "nixos-hardware";
# make auto-upgrade service lightweight
systemd.services.nixos-upgrade.unitConfig = { CPUWeight = 1; };
diff --git a/nixos/users.nix b/nixos/users.nix
index 0b28011..c3185cf 100644
--- a/nixos/users.nix
+++ b/nixos/users.nix
@@ -1,16 +1,11 @@
-{ home-manager, homeModules, ... }:
+{ config, ... }:
{
- imports = [ home-manager.nixosModules.home-manager ];
-
personal.user = {
enable = true;
name = "qaristote";
+ homeManager.enable = true;
};
- home-manager = {
- users.qaristote = { ... }: { imports = homeModules; };
- useGlobalPkgs = true;
- useUserPackages = true;
- };
+ home-manager.extraSpecialArgs.osConfig = config;
}