nixos-config/sets/workstation.nix

75 lines
1.3 KiB
Nix
Raw Normal View History

2024-03-02 03:13:17 +00:00
{
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
2024-01-24 04:03:50 +00:00
./documentation.nix
2024-01-17 05:58:13 +00:00
./firefox.nix
2023-10-05 00:34:34 +00:00
./nix-index.nix
2024-01-17 05:58:13 +00:00
./nixvim.nix
2023-11-18 21:59:14 +00:00
./packages.nix
./pipewire.nix
./swap.nix
./sway.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
2024-04-06 21:47:00 +00:00
i18n = {
defaultLocale = "en_US.UTF-8";
supportedLocales = [ "all" ];
extraLocaleSettings = {
LC_MEASUREMENT = "de_DE.UTF-8";
LC_TIME = "de_DE.UTF-8";
};
};
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;
2023-12-20 19:06:40 +00:00
nssmdns4 = 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;
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;
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
}