grimm-nixos-laptop/configuration.nix

60 lines
1.3 KiB
Nix
Raw Normal View History

{ system, config, pkgs, ... }:
2023-11-28 23:24:43 +01:00
{
imports =
2024-04-10 16:51:28 +02:00
[
2024-04-21 11:25:35 +02:00
./sway
2023-11-28 23:24:43 +01:00
];
# Bootloader.
boot = {
loader.efi.canTouchEfiVariables = true;
2024-03-24 10:16:04 +01:00
kernelPackages = pkgs.linuxPackages_zen;
};
2023-11-28 23:24:43 +01:00
# Enable flatpaks
2024-04-27 14:20:48 +02:00
# services.flatpak.enable = true;
2024-04-16 12:25:00 +02:00
2024-03-16 18:28:01 +01:00
grimmShared = {
enable = true;
locale = true;
printing = true;
portals = true;
network = true;
tooling = {
enable = true;
2024-04-27 14:20:48 +02:00
pass = true;
2024-04-26 21:36:24 +02:00
lilypond = true;
};
sound = {
enable = true;
midi = true;
2024-03-16 18:28:01 +01:00
};
graphical = true;
2024-03-17 11:28:47 +01:00
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";
};
};
2024-03-26 10:36:33 +01:00
cloudSync = {
2024-04-30 22:04:17 +02:00
enable = true;
2024-03-26 10:36:33 +01:00
username = "Grimmauld";
server = "cloud.grimmauld.de";
passwordFile = config.age.secrets.nextcloud_pass.path;
};
2024-04-16 13:42:06 +02:00
spotify.enable = true;
2024-03-26 10:36:33 +01:00
};
age.secrets.nextcloud_pass = {
file = ./secrets/nextcloud_pass.age;
mode = "777";
2024-03-18 00:40:44 +01:00
};
2023-11-28 23:24:43 +01:00
}