2022-09-18 19:42:30 +00:00
|
|
|
|
{
|
|
|
|
|
config,
|
|
|
|
|
pkgs,
|
|
|
|
|
...
|
|
|
|
|
}: {
|
|
|
|
|
imports = [
|
|
|
|
|
# Include the results of the hardware scan.
|
|
|
|
|
./hardware-configuration-zfs.nix
|
|
|
|
|
./zfs.nix
|
|
|
|
|
];
|
|
|
|
|
|
2023-03-25 16:21:37 +00:00
|
|
|
|
aa = {
|
|
|
|
|
nix.enable = true;
|
2022-12-06 05:34:31 +00:00
|
|
|
|
|
2023-03-25 16:21:37 +00:00
|
|
|
|
suites.desktop.enable = true;
|
|
|
|
|
suites.gaming.enable = true;
|
|
|
|
|
|
|
|
|
|
tools.git.enable = true;
|
|
|
|
|
tools.zsh.enable = true;
|
|
|
|
|
tools.exa.enable = true;
|
|
|
|
|
|
|
|
|
|
apps.neovim.enable = true;
|
|
|
|
|
apps.tmux.enable = true;
|
|
|
|
|
|
|
|
|
|
services.printing.enable = true;
|
2023-03-25 16:58:31 +00:00
|
|
|
|
services.tailscale = {
|
|
|
|
|
enable = true;
|
|
|
|
|
configureClientRouting = true;
|
|
|
|
|
};
|
2023-03-25 16:28:53 +00:00
|
|
|
|
|
|
|
|
|
hardware.audio.enable = true;
|
2023-03-25 17:16:14 +00:00
|
|
|
|
|
|
|
|
|
system.zfs.enable = true;
|
2023-03-25 16:21:37 +00:00
|
|
|
|
};
|
2022-09-18 19:42:30 +00:00
|
|
|
|
|
|
|
|
|
networking = {
|
2023-03-25 17:20:16 +00:00
|
|
|
|
hostName = "carbon";
|
2022-09-18 19:42:30 +00:00
|
|
|
|
networkmanager.enable = true; # Enables wireless support via wpa_supplicant.
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
time.timeZone = "America/Los_Angeles";
|
|
|
|
|
|
|
|
|
|
fonts.fonts = with pkgs; [
|
|
|
|
|
(nerdfonts.override {fonts = ["Hack"];})
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
# List packages installed in system profile. To search, run:
|
|
|
|
|
# $ nix search wget
|
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
|
wget
|
|
|
|
|
stow
|
|
|
|
|
zsh
|
|
|
|
|
sanoid
|
|
|
|
|
killall
|
|
|
|
|
usbutils
|
|
|
|
|
# Below 3 installed for sanoid
|
|
|
|
|
pv
|
|
|
|
|
lzop
|
|
|
|
|
mbuffer
|
|
|
|
|
|
|
|
|
|
wireguard-tools
|
|
|
|
|
|
|
|
|
|
prusa-slicer
|
2022-10-02 16:47:25 +00:00
|
|
|
|
traceroute
|
2022-12-06 05:34:31 +00:00
|
|
|
|
gnumake
|
|
|
|
|
hugo
|
|
|
|
|
nixos-generators
|
|
|
|
|
vlc
|
2022-09-18 19:42:30 +00:00
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
programs.light.enable = true;
|
|
|
|
|
|
|
|
|
|
# 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 = "21.11"; # Did you read the comment?
|
|
|
|
|
}
|