54 lines
1.2 KiB
Nix
54 lines
1.2 KiB
Nix
{
|
|
config,
|
|
pkgs,
|
|
lib,
|
|
flakes,
|
|
...
|
|
}: {
|
|
imports = [
|
|
flakes.home-manager.nixosModules.home-manager
|
|
flakes.impermanence.nixosModule
|
|
./hardware-configuration.nix
|
|
];
|
|
|
|
local.sys = {
|
|
baseline.enable = true;
|
|
|
|
yubikey.enable = true;
|
|
audio.enable = true;
|
|
graphics.enable = true;
|
|
virtualisation.enable = true;
|
|
androidSupport.enable = true;
|
|
users = {
|
|
fabian = {
|
|
enable = true;
|
|
unixId = 1002;
|
|
};
|
|
vanessa.enable = true;
|
|
};
|
|
};
|
|
|
|
networking = {
|
|
hostName = "posixlycorrect";
|
|
networkmanager.enable = true;
|
|
|
|
useDHCP = false; # The global useDHCP flag is deprecated, therefore explicitly set to false here.
|
|
interfaces.enp7s0.useDHCP = true; # Per-interface useDHCP will be mandatory in the future, so this generated config
|
|
interfaces.wlp6s0.useDHCP = true; # replicates the default behaviour.
|
|
};
|
|
|
|
boot = {
|
|
loader = {
|
|
systemd-boot.enable = true;
|
|
efi.canTouchEfiVariables = true;
|
|
};
|
|
tmp.useTmpfs = true;
|
|
kernelPackages = pkgs.linuxPackages_latest;
|
|
};
|
|
|
|
# Select internationalisation properties.
|
|
i18n.defaultLocale = "en_US.UTF-8";
|
|
|
|
time.timeZone = "America/Costa_Rica";
|
|
}
|