2024-01-09 16:49:56 +00:00
|
|
|
|
{ pkgs, ... }:
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
imports =
|
|
|
|
|
[ # Include the results of the hardware scan.
|
|
|
|
|
./hardware-configuration.nix
|
|
|
|
|
./zfs-config.nix
|
|
|
|
|
./common
|
2024-01-19 20:10:30 +00:00
|
|
|
|
./common/sites/gifford
|
|
|
|
|
./common/users/scott
|
|
|
|
|
./common/desktop
|
|
|
|
|
./common/network-debugging.nix
|
2024-01-09 16:49:56 +00:00
|
|
|
|
];
|
|
|
|
|
|
2024-01-19 20:10:30 +00:00
|
|
|
|
boot.loader.grub = {
|
|
|
|
|
enable = true;
|
|
|
|
|
device = "/dev/sdb"; # change after install!
|
2024-01-09 16:49:56 +00:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
networking = {
|
2024-01-19 20:10:30 +00:00
|
|
|
|
hostName = "network-debugger"; # Define your hostname.
|
|
|
|
|
hostId = "847d8755"; # required by ZFS
|
|
|
|
|
firewall.enable = false;
|
|
|
|
|
networkmanager.enable = true;
|
2024-01-09 16:49:56 +00:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
# Set your time zone.
|
2024-01-19 20:10:30 +00:00
|
|
|
|
time.timeZone = "America/New_York";
|
2024-01-09 16:49:56 +00:00
|
|
|
|
|
|
|
|
|
# Select internationalisation properties.
|
|
|
|
|
i18n.defaultLocale = "en_US.UTF-8";
|
|
|
|
|
console = {
|
|
|
|
|
# keyMap = "us";
|
|
|
|
|
useXkbConfig = true; # use xkbOptions in tty.
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
services.xserver.layout = "us";
|
|
|
|
|
|
|
|
|
|
# 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-01-19 20:10:30 +00:00
|
|
|
|
system.stateVersion = "23.11"; # Did you read the comment?
|
2024-01-09 16:49:56 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|