home

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 58260171cdca51647c4af6daf41a45374de96ced
parent 438b37ec7b270092af47e73d0f3bc21b7db980ed
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Mon, 21 Dec 2020 15:40:39 +0100

flake: import home-manager in base

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Msystems/profiles/base.nix | 10+++++++++-
Musers/vincent/default.flake.nix | 1-
2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/systems/profiles/base.nix b/systems/profiles/base.nix @@ -1,15 +1,17 @@ -{ config, lib, pkgs, ... }: +{ config, inputs, lib, pkgs, ... }: let inherit (lib) mkEnableOption mkIf mkDefault mkOverride; cfg = config.profiles.base; in { + imports = [ inputs.home-manager.nixosModules.home-manager ]; options = { profiles.base = { enable = mkEnableOption "base configuration"; }; }; config = mkIf cfg.enable { + boot = { # Enable running aarch64 binaries using qemu. binfmt.emulatedSystems = [ "aarch64-linux" ]; @@ -56,6 +58,12 @@ in }; }; + # Home manager default configuration + home-manager = { + useUserPackages = true; + useGlobalPkgs = true; + }; + i18n.defaultLocale = "en_US.UTF-8"; # Make sure we never remove SSH_AUTH_SOCK when reseting env through sudo diff --git a/users/vincent/default.flake.nix b/users/vincent/default.flake.nix @@ -36,7 +36,6 @@ in subGidRanges = [{ startGid = 100000; count = 65536; }]; }; - /* security.pam.services.vincent.fprintAuth = config.services.fprintd.enable;