2023-01-14 12:57:53 +01:00
|
|
|
|
{ pkgs, ... }: {
|
2023-01-09 23:07:46 +01:00
|
|
|
|
imports = [
|
2023-01-14 12:57:53 +01:00
|
|
|
|
./amd.nix
|
2023-07-11 21:46:23 +02:00
|
|
|
|
./amd-new-pstate.nix
|
2023-01-09 23:07:46 +01:00
|
|
|
|
./hardware-configuration.nix
|
2023-02-09 19:23:49 +01:00
|
|
|
|
./irc.nix
|
2023-05-28 23:37:31 +02:00
|
|
|
|
./stateful-network.nix
|
2023-06-10 14:12:35 +02:00
|
|
|
|
./network.nix
|
|
|
|
|
./network-vpns.nix
|
2023-01-10 00:12:15 +01:00
|
|
|
|
./secrets.nix
|
2023-05-20 01:35:32 +02:00
|
|
|
|
./secure-boot.nix
|
2023-01-10 00:12:15 +01:00
|
|
|
|
./zfs.nix
|
2023-01-09 23:07:46 +01:00
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
nixpkgs.config.allowUnfree = true;
|
|
|
|
|
|
|
|
|
|
# Use the systemd-boot EFI boot loader.
|
|
|
|
|
boot.loader.systemd-boot.enable = true;
|
|
|
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
2023-01-10 00:12:15 +01:00
|
|
|
|
hardware.enableAllFirmware = true;
|
2023-01-09 23:07:46 +01:00
|
|
|
|
|
2023-01-17 20:59:09 +01:00
|
|
|
|
# update the firmware
|
|
|
|
|
services.fwupd.enable = true;
|
|
|
|
|
|
2023-01-09 23:07:46 +01:00
|
|
|
|
# Set your time zone.
|
|
|
|
|
time.timeZone = "Europe/Amsterdam";
|
|
|
|
|
|
|
|
|
|
# Select internationalisation properties.
|
|
|
|
|
i18n = {
|
|
|
|
|
defaultLocale = "en_US.UTF-8";
|
|
|
|
|
supportedLocales = [ "all" ];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
users.users.grue = {
|
|
|
|
|
extraGroups = [
|
|
|
|
|
"wheel"
|
|
|
|
|
"video"
|
|
|
|
|
"plugdev"
|
|
|
|
|
"dialout"
|
|
|
|
|
"bluetooth"
|
2023-06-25 15:40:11 +02:00
|
|
|
|
"libvirtd"
|
2023-01-09 23:07:46 +01:00
|
|
|
|
];
|
|
|
|
|
group = "users";
|
|
|
|
|
home = "/home/grue";
|
|
|
|
|
isNormalUser = true;
|
|
|
|
|
uid = 1000;
|
|
|
|
|
};
|
|
|
|
|
|
2023-01-10 00:12:33 +01:00
|
|
|
|
programs.steam.enable = true;
|
2023-01-09 23:07:46 +01:00
|
|
|
|
|
2023-04-29 23:50:51 +02:00
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
|
factorio
|
|
|
|
|
];
|
|
|
|
|
|
2023-06-04 20:19:53 +02:00
|
|
|
|
services.emacs.defaultEditor = false;
|
|
|
|
|
|
2023-01-09 23:07:46 +01:00
|
|
|
|
# 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).
|
|
|
|
|
system.stateVersion = "23.05"; # Did you read the comment?
|
2023-05-10 12:41:34 +02:00
|
|
|
|
|
2023-01-09 23:07:46 +01:00
|
|
|
|
}
|