2024-09-08 23:23:22 +02:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
lib,
|
2024-12-03 02:25:34 +01:00
|
|
|
flakes,
|
2024-09-08 23:23:22 +02:00
|
|
|
...
|
|
|
|
}: {
|
|
|
|
imports = [
|
2024-12-03 02:25:34 +01:00
|
|
|
flakes.home-manager.nixosModules.home-manager
|
|
|
|
flakes.impermanence.nixosModule
|
2024-09-08 23:23:22 +02:00
|
|
|
./hardware-configuration.nix
|
|
|
|
];
|
|
|
|
|
2024-12-02 21:04:55 +01:00
|
|
|
local.sys = {
|
|
|
|
baseline.enable = true;
|
2024-12-02 21:14:13 +01:00
|
|
|
|
|
|
|
yubikey.enable = true;
|
2024-12-02 21:23:52 +01:00
|
|
|
audio.enable = true;
|
2024-12-02 21:28:35 +01:00
|
|
|
graphics.enable = true;
|
2024-12-02 21:34:37 +01:00
|
|
|
virtualisation.enable = true;
|
2024-12-02 21:37:46 +01:00
|
|
|
androidSupport.enable = true;
|
2024-12-03 02:25:34 +01:00
|
|
|
users = {
|
|
|
|
fabian = {
|
|
|
|
enable = true;
|
|
|
|
unixId = 1002;
|
|
|
|
};
|
|
|
|
vanessa.enable = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
networking = {
|
|
|
|
hostName = "posixlycorrect";
|
|
|
|
networkmanager.enable = true;
|
|
|
|
|
2024-12-03 04:07:06 +01:00
|
|
|
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.
|
2024-12-02 21:04:55 +01:00
|
|
|
};
|
|
|
|
|
2024-12-02 21:57:33 +01:00
|
|
|
boot = {
|
|
|
|
loader = {
|
|
|
|
systemd-boot.enable = true;
|
|
|
|
efi.canTouchEfiVariables = true;
|
|
|
|
};
|
|
|
|
tmp.useTmpfs = true;
|
|
|
|
kernelPackages = pkgs.linuxPackages_latest;
|
|
|
|
};
|
2024-09-08 23:23:22 +02:00
|
|
|
|
|
|
|
# Select internationalisation properties.
|
|
|
|
i18n.defaultLocale = "en_US.UTF-8";
|
|
|
|
|
2024-12-02 21:57:33 +01:00
|
|
|
time.timeZone = "America/Costa_Rica";
|
2024-09-08 23:23:22 +02:00
|
|
|
}
|