refactor and modularize base.nix futher; use default.nix when possible

This commit is contained in:
2025-09-26 11:49:00 +01:00
parent db9826339f
commit 6a45fca8d5
15 changed files with 152 additions and 126 deletions

53
home-manager/default.nix Normal file
View File

@@ -0,0 +1,53 @@
{ pkgs, inputs, lib, ... }:
{
imports = [
./base
./firefox
];
home.packages = with pkgs;[
# general
thunderbird
keepassxc
qbittorrent
libreoffice-qt
inputs.nixpkgs-unstable.legacyPackages."${pkgs.system}".joplin-desktop
# comms
teamspeak_client
discord
# media
strawberry
];
# set breeze as default cursor
# For cursor in steam?
home.file.".icons/default".source = "${pkgs.kdePackages.breeze}/share/icons/breeze_cursors";
home.file.".npmrc".text = lib.generators.toINIWithGlobalSection { } {
globalSection = {
ignore-scripts = "true";
};
};
home.sessionVariables = {
NIXOS_OZONE_WL = "1";
};
services.nextcloud-client = {
enable = true;
package = pkgs.nextcloud-client;
startInBackground = true;
};
programs = {
home-manager.enable = true;
chromium = {
enable = true;
package = pkgs.brave;
};
};
}