summaryrefslogtreecommitdiff
path: root/nixos
diff options
context:
space:
mode:
authorQuentin Aristote <quentin@aristote.fr>2023-02-28 17:50:16 +0100
committerQuentin Aristote <quentin@aristote.fr>2023-02-28 17:50:16 +0100
commit52c53ee7055cd5876112543c28ff6b5626a99313 (patch)
tree6fe6815fda0e81bf00013ffcad4db6e115b933a6 /nixos
parent1f349513ad5079e9f07ea524fd7039261e942ba4 (diff)
parentb0214d50e9a728d77d98d791e92dfe3747f27e23 (diff)
Merge branch 'flake-home-manager' into flake
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 b7512e8..c3185cf 100644
--- a/nixos/users.nix
+++ b/nixos/users.nix
@@ -1,16 +1,11 @@
-{ home, home-manager, ... }:
+{ config, ... }:
{
- imports = [ home-manager.nixosModules.home-manager ];
-
personal.user = {
enable = true;
name = "qaristote";
+ homeManager.enable = true;
};
- home-manager = {
- users.qaristote = home.qaristote;
- useGlobalPkgs = false;
- useUserPackages = true;
- };
+ home-manager.extraSpecialArgs.osConfig = config;
}