nixos-config/sets/workstation.nix

54 lines
1,002 B
Nix
Raw Normal View History

2022-03-09 17:51:47 +00:00
{ config, pkgs, pkgs-unstable, ... }:
2021-01-10 06:27:22 +00:00
{
imports = [
./sway.nix
./packages.nix
./pipewire.nix
2021-11-20 04:08:18 +00:00
./base.nix
2021-01-10 07:02:31 +00:00
../home
2021-01-10 06:27:22 +00:00
];
i18n.defaultLocale = "de_DE.UTF-8";
environment = {
2021-11-29 04:19:24 +00:00
variables.EDITOR = "nvim";
2021-01-10 06:27:22 +00:00
variables.TERMINAL = "alacritty";
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;
fwupd.enable = true;
pcscd.enable = true;
2021-10-02 04:55:21 +00:00
printing.enable = true;
2021-01-10 06:27:22 +00:00
udev.packages = [
(pkgs.callPackage ../externals/rules/uhk.nix { })
];
};
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
nixpkgs.overlays = [
(final: prev: {
brscan5 = pkgs-unstable.brscan5;
})
];
users.users.artemis.extraGroups = [ "scanner" ];
2021-01-10 06:27:22 +00:00
}