aboutsummaryrefslogtreecommitdiff
path: root/home-manager/home.nix
blob: fe27af026f1c90634ebe98b052ca29cb9caab2c6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
{ pkgs, lib, inputs, ... }:
{
    imports = [
        ./shells/bash.nix
        ./emacs
        #./hyprland
        ./i3
        ./YATwm
        ./kitty
        inputs.spicetify-nix.homeManagerModules.default
        inputs.nixcord.homeModules.nixcord
        #inputs.stylix.homeManagerModules.stylix
    ];

    home = {
        stateVersion = "24.05";
        username = "boss";
        homeDirectory = "/home/boss";
    };
    
    # The home.packages option allows you to install Nix packages into your
    # environment.
    # nixpkgs.config.allowUnfree = true;
    home.packages = with pkgs; [
        feh
        pass
        #spotify
        playerctl
        libqalculate
        libreoffice
        logisim-evolution
        thunderbird
        xdotool
        discord
        # (discord.override {
        #     withOpenASAR = true;
        #     withVencord = true;
        # })
        # vesktop
        mumble
        gimp
        bottom
        obs-studio
        xfce.thunar
        mpv
        man-pages
        man-pages-posix
        # (inputs.plover-flake.packages.${system}.plover.with-plugins (ps: with ps;[
        #     plover-dict-commands
        #     plover-console-ui
        #     plover-controller
        # ]))
        pavucontrol
        unzip
        appimage-run
        lunar-client
        libnotify
        xclip
        (python3.withPackages (ps: with ps; [
            python-lsp-server
        ]))
        alacritty
        nyxt
        wireguard-tools
        brightnessctl
        inputs.nil.packages.${system}.default
        inputs.polymc.packages.${system}.default
        jre8
        inputs.zen-browser.packages."${system}".default
        piper
        qbittorrent
        adom
    ];
    
    nix = {
        #package = pkgs.nix;
        settings.experimental-features = [ "nix-command" "flakes" ];
    };
    
    home.sessionVariables = {
        EDITOR = "emacsclient -c";
        MAKEFLAGS = " -j16 ";
        MOZ_ENABLE_WAYLAND = 1;
    };

    
    programs.home-manager.enable = true;

    programs.direnv = {
        enable = true;
        enableBashIntegration = true;
        nix-direnv.enable = true;
    };

    services.gpg-agent.enable = true;

    services.dunst = {
        enable = true;
        settings = {
            global = {
                follow = "keyboard";
                frame_width = 0;
            };
        };
    };
    

    programs.firefox.enable = true;

    # programs.nixcord = {
    #     enable = true;
    # };
    

    stylix.targets.spicetify.enable = false;
    stylix.targets.firefox.profileNames = [ "default"];
    # stylix.targets.nixcord.enable = true;
    
    programs.spicetify =
        let
            spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.system};
        in
          {
              enable = true;
              enabledExtensions = with spicePkgs.extensions; [
                  fullAppDisplay
                  powerBar
                  addToQueueTop
              ];
              enabledCustomApps = with spicePkgs.apps; [
                  newReleases
                  lyricsPlus
                  betterLibrary
              ];
              theme = spicePkgs.themes.nightlight;
          };
    
    
    xsession.windowManager.command = lib.mkForce "$@";
}