nixos-config/sets/workstation.nix

64 lines
1.2 KiB
Nix
Raw Normal View History

{ pkgs, lib, inputs, ... }@args:
2021-01-10 06:27:22 +00:00
{
2023-10-05 00:34:34 +00:00
imports = [
2023-11-18 21:59:14 +00:00
../home
2023-11-01 04:18:19 +00:00
./1password.nix
2023-10-05 00:34:34 +00:00
./base.nix
./nix-index.nix
2023-11-18 21:59:14 +00:00
./packages.nix
./pipewire.nix
./swap.nix
./sway.nix
2023-11-29 02:08:29 +00:00
./nixvim.nix
2023-11-26 07:30:29 +00:00
inputs.private.nixosModules.taskwarrior
2023-10-05 00:34:34 +00:00
];
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-10-27 06:06:33 +00:00
variables.VISUAL = "nvim";
2023-03-08 05:04:02 +00:00
variables.TERMINAL = "kitty";
2021-01-10 06:27:22 +00:00
};
services = {
2022-07-09 15:03:05 +00:00
avahi = {
enable = true;
nssmdns = true;
publish = {
enable = lib.mkDefault true;
addresses = true;
};
2022-07-09 15:03:05 +00:00
};
2023-12-01 17:49:54 +00:00
blueman.enable = true;
2023-12-12 00:44:02 +00:00
chrony.enable = 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;
2023-10-25 07:27:16 +00:00
programs.nix-ld.enable = 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
}