nixos-config/sets/workstation.nix

53 lines
988 B
Nix
Raw Normal View History

2023-08-30 20:58:52 +00:00
{ config, pkgs, ... }:
2021-01-10 06:27:22 +00:00
{
2023-10-05 00:34:34 +00:00
imports = [
./sway.nix
./packages.nix
./pipewire.nix
./base.nix
./nvim.nix
../home
./nix-index.nix
];
2021-01-10 06:27:22 +00:00
i18n.defaultLocale = "de_DE.UTF-8";
2023-04-11 00:55:07 +00:00
i18n.supportedLocales = [ "all" ];
2021-01-10 06:27:22 +00:00
environment = {
2021-11-29 04:19:24 +00:00
variables.EDITOR = "nvim";
2023-03-08 05:04:02 +00:00
variables.TERMINAL = "kitty";
2021-01-10 06:27:22 +00:00
enableDebugInfo = true;
};
services = {
2022-07-09 15:03:05 +00:00
avahi = {
enable = true;
nssmdns = true;
};
2021-01-10 06:27:22 +00:00
flatpak.enable = true;
pcscd.enable = true;
2021-10-02 04:55:21 +00:00
printing.enable = true;
2023-08-26 23:00:18 +00:00
udev.packages = [ (pkgs.callPackage ../externals/rules/uhk.nix { }) ];
2021-01-10 06:27:22 +00:00
};
2022-03-07 21:03:56 +00:00
programs.ssh.startAgent = true;
2021-01-10 06:27:22 +00:00
hardware = {
bluetooth.enable = true;
2021-11-20 04:08:18 +00:00
opengl.driSupport32Bit = (pkgs.system == "x86_64-linux");
2021-05-11 01:43:20 +00:00
steam-hardware.enable = true;
2022-03-09 17:51:47 +00:00
sane = {
enable = true;
2022-06-09 19:16:28 +00:00
brscan5.enable = (pkgs.system == "x86_64-linux");
2022-03-09 17:51:47 +00:00
};
2021-01-10 06:27:22 +00:00
};
2022-03-09 17:51:47 +00:00
2023-08-30 21:51:34 +00:00
qt = {
enable = true;
platformTheme = "qt5ct";
};
2022-03-09 17:51:47 +00:00
users.users.artemis.extraGroups = [ "scanner" ];
2021-01-10 06:27:22 +00:00
}