2023-10-27 06:06:33 +00:00
|
|
|
{ pkgs, inputs, ... }@args:
|
2021-01-10 06:27:22 +00:00
|
|
|
|
|
|
|
{
|
2023-10-05 00:34:34 +00:00
|
|
|
imports = [
|
2023-11-01 04:18:19 +00:00
|
|
|
./1password.nix
|
2023-10-05 00:34:34 +00:00
|
|
|
./sway.nix
|
|
|
|
./packages.nix
|
|
|
|
./pipewire.nix
|
|
|
|
./base.nix
|
|
|
|
../home
|
|
|
|
./nix-index.nix
|
2023-10-27 06:06:33 +00:00
|
|
|
inputs.nixvim.nixosModules.nixvim
|
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
|
|
|
enableDebugInfo = true;
|
|
|
|
};
|
|
|
|
|
2023-10-27 06:06:33 +00:00
|
|
|
programs.nixvim = import ./nvim.nix args // { enable = true; };
|
|
|
|
|
2021-01-10 06:27:22 +00:00
|
|
|
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;
|
2023-10-18 19:54:46 +00:00
|
|
|
fwupd.enable = true;
|
2021-01-10 06:27:22 +00:00
|
|
|
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
|
|
|
}
|