grimm-nixos-laptop/configuration.nix
2024-04-27 14:20:48 +02:00

67 lines
1.5 KiB
Nix

{ system, config, pkgs, ... }:
{
imports =
[
./modules/fonts.nix
./modules/tabletdriver.nix
./sway
];
# Bootloader.
boot = {
loader.systemd-boot.enable = true;
loader.efi.canTouchEfiVariables = true;
kernelPackages = pkgs.linuxPackages_zen;
};
# Enable flatpaks
# services.flatpak.enable = true;
grimmShared = {
enable = true;
locale = true;
printing = true;
portals = true;
network = true;
tooling = {
enable = true;
pass = true;
lilypond = true;
};
sound = {
enable = true;
midi = true;
};
graphical = true;
firefox = {
enable = true;
plugins = {
"uBlock0@raymondhill.net" = "ublock-origin";
"gdpr@cavi.au.dk" = "consent-o-matic";
"{41f9e51d-35e4-4b29-af66-422ff81c8b41}" = "disable-javascript";
"{7a7a4a92-a2a0-41d1-9fd7-1e92480d612d}" = "styl-us";
"wappalyzer@crunchlabz.com" = "wappalyzer";
"{b9db16a4-6edc-47ec-a1f4-b86292ed211d}" = "video-downloadhelper";
"{1526fba1-ac33-4dfc-99d8-163e6129f7b9}" = "reveye-ris";
};
};
cloudSync = {
# enable = true;
username = "Grimmauld";
server = "cloud.grimmauld.de";
passwordFile = config.age.secrets.nextcloud_pass.path;
};
spotify.enable = true;
};
age.identityPaths = [ "/home/grimmauld/.ssh/id_rsa" ];
age.secrets.nextcloud_pass = {
file = ./secrets/nextcloud_pass.age;
mode = "777";
};
boot.tmp.cleanOnBoot = true;
programs.dconf.enable = true;
}