nixos-config/sets/workstation.nix

75 lines
1.3 KiB
Nix

{
pkgs,
lib,
inputs,
...
}@args:
{
imports = [
../home
./1password.nix
./base.nix
./documentation.nix
./firefox.nix
./nix-index.nix
./nixvim.nix
./packages.nix
./pipewire.nix
./swap.nix
./sway.nix
inputs.private.nixosModules.taskwarrior
];
i18n = {
defaultLocale = "en_US.UTF-8";
supportedLocales = [ "all" ];
extraLocaleSettings = {
LC_MEASUREMENT = "de_DE.UTF-8";
LC_TIME = "de_DE.UTF-8";
};
};
environment = {
variables.EDITOR = "nvim";
variables.VISUAL = "nvim";
variables.TERMINAL = "kitty";
};
services = {
avahi = {
enable = true;
nssmdns4 = true;
publish = {
enable = lib.mkDefault true;
addresses = true;
};
};
blueman.enable = true;
flatpak.enable = true;
pcscd.enable = true;
printing.enable = true;
};
programs.ssh.startAgent = true;
programs.nix-ld.enable = true;
hardware = {
bluetooth.enable = true;
graphics.enable32Bit = (pkgs.system == "x86_64-linux");
steam-hardware.enable = true;
sane = {
enable = true;
brscan5.enable = (pkgs.system == "x86_64-linux");
};
};
qt = {
enable = true;
platformTheme = "qt5ct";
};
users.users.artemis.extraGroups = [ "scanner" ];
}