dotfiles/systems/x86_64-linux/carbon/default.nix

69 lines
1.7 KiB
Nix
Raw Normal View History

{pkgs, ...}: {
2022-09-18 19:42:30 +00:00
imports = [
# Include the results of the hardware scan.
./hardware-configuration-zfs.nix
./zfs.nix
];
aa = {
nix.enable = true;
2023-06-28 04:59:26 +00:00
nix.useSelfhostedCache = true;
2022-12-06 05:34:31 +00:00
archetypes.workstation.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-07-15 05:57:42 +00:00
hardware.bluetooth.enable = true;
2023-06-10 01:05:29 +00:00
hardware.tlp.enable = true;
system.zfs.enable = true;
2023-05-11 05:29:04 +00:00
apps.yubikey.enable = true;
};
2022-09-18 19:42:30 +00:00
networking = {
hostName = "carbon";
2022-09-18 19:42:30 +00:00
networkmanager.enable = true; # Enables wireless support via wpa_supplicant.
};
2024-07-27 06:57:43 +00:00
# This service is problematic
# See: https://github.com/NixOS/nixpkgs/issues/180175
systemd.services.NetworkManager-wait-online.enable = false;
2022-09-18 19:42:30 +00:00
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. Its 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?
}