Commit 58260171cdca
Changed files (2)
systems
profiles
users
vincent
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
users/vincent/default.flake.nix
@@ -36,7 +36,6 @@ in
subGidRanges = [{ startGid = 100000; count = 65536; }];
};
-
/*
security.pam.services.vincent.fprintAuth = config.services.fprintd.enable;