2025-01-11 03:55:19 +01:00
|
|
|
|
{ pkgs, ... }:
|
|
|
|
|
{
|
2024-12-31 13:52:57 +00:00
|
|
|
|
imports = [
|
|
|
|
|
./amd.nix
|
|
|
|
|
./hardware-configuration.nix
|
2024-12-31 17:13:04 +01:00
|
|
|
|
# ./irc.nix
|
2025-01-03 19:06:42 +01:00
|
|
|
|
./network
|
2025-01-03 00:03:06 +01:00
|
|
|
|
./secrets.nix
|
2025-01-02 16:29:05 +01:00
|
|
|
|
./secure-boot.nix
|
2024-12-31 13:52:57 +00:00
|
|
|
|
./zfs.nix
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
nixpkgs.config.allowUnfree = true;
|
|
|
|
|
|
|
|
|
|
# Use the systemd-boot EFI boot loader.
|
|
|
|
|
boot.loader.systemd-boot.enable = true;
|
|
|
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
|
|
|
hardware.enableAllFirmware = true;
|
|
|
|
|
|
|
|
|
|
# update the firmware
|
|
|
|
|
services.fwupd.enable = true;
|
|
|
|
|
|
|
|
|
|
# Set your time zone.
|
|
|
|
|
time.timeZone = "Europe/Amsterdam";
|
|
|
|
|
|
|
|
|
|
# Select internationalisation properties.
|
|
|
|
|
i18n = {
|
|
|
|
|
defaultLocale = "en_US.UTF-8";
|
|
|
|
|
supportedLocales = [ "all" ];
|
|
|
|
|
};
|
|
|
|
|
|
2024-12-31 17:13:04 +01:00
|
|
|
|
users.users."0xa" = {
|
2024-12-31 13:52:57 +00:00
|
|
|
|
extraGroups = [
|
|
|
|
|
"wheel"
|
|
|
|
|
"video"
|
|
|
|
|
"plugdev"
|
|
|
|
|
"dialout"
|
|
|
|
|
"bluetooth"
|
|
|
|
|
"libvirtd"
|
2025-01-03 20:21:34 +01:00
|
|
|
|
"qemu-libvirtd"
|
2024-12-31 13:52:57 +00:00
|
|
|
|
];
|
|
|
|
|
group = "users";
|
2024-12-31 17:13:04 +01:00
|
|
|
|
home = "/home/0xa";
|
2024-12-31 13:52:57 +00:00
|
|
|
|
isNormalUser = true;
|
|
|
|
|
uid = 1000;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
services.emacs.defaultEditor = false;
|
|
|
|
|
|
|
|
|
|
# This value determines the NixOS release from which the default
|
|
|
|
|
# settings for stateful data, like file locations and database versions
|
|
|
|
|
# on your system were taken. It‘s perfectly fine and recommended to leave
|
|
|
|
|
# this value at the release version of the first install of this system.
|
|
|
|
|
# Before changing this value read the documentation for this option
|
|
|
|
|
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
2024-12-31 17:13:04 +01:00
|
|
|
|
system.stateVersion = "24.11"; # Did you read the comment?
|
2024-12-31 13:52:57 +00:00
|
|
|
|
|
|
|
|
|
}
|