nixos/home/Vanguard.nix

31 lines
814 B
Nix

{ lib, pkgs, ... }:
{
imports = [
./personal.nix
./games/default.nix
./streaming/default.nix
./desktop/plasma/default.nix
];
home.packages = with pkgs; [
kdePackages.ktorrent
blender
freecad
openscad
kicad-small
];
programs.plasma = {
configFile = {
bluedevilglobalrc.Global.launchState.value = "enable";
};
};
xdg.configFile = {
"autostart/org.kde.ktorrent.desktop".source = "${pkgs.kdePackages.ktorrent}/share/applications/org.kde.ktorrent.desktop";
"autostart/webcord.desktop".source = "${pkgs.webcord}/share/applications/webcord.desktop";
"autostart/steam.desktop" =
let
source = "/run/current-system/sw/share/applications/steam.desktop";
in
lib.mkIf (builtins.pathExists source) { inherit source; };
};
}