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;
|
2023-06-28 04:59:26 +00:00
|
|
|
|
nix.useSelfhostedCache = true;
|
2022-12-06 05:34:31 +00:00
|
|
|
|
|
2023-04-02 23:22:51 +00:00
|
|
|
|
archetypes.workstation.enable = true;
|
2023-03-25 16:21:37 +00:00
|
|
|
|
|
|
|
|
|
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-06-10 01:05:29 +00:00
|
|
|
|
hardware.tlp.enable = true;
|
2023-03-25 17:16:14 +00:00
|
|
|
|
|
|
|
|
|
system.zfs.enable = true;
|
2023-06-11 01:07:00 +00:00
|
|
|
|
apps.btop.enable = true;
|
2023-05-11 05:29:04 +00:00
|
|
|
|
apps.yubikey.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";
|
|
|
|
|
|
|
|
|
|
# List packages installed in system profile. To search, run:
|
|
|
|
|
# $ nix search wget
|
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
|
sanoid
|
|
|
|
|
# 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
|
2023-05-11 05:29:17 +00:00
|
|
|
|
signal-desktop
|
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?
|
|
|
|
|
}
|