blob: 766c2501caca5d77e2010569cc95c7abdd58599f (
plain)
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
|
{ inputs, ... }:
{
flake.modules.homeManager.quickshell =
{ pkgs, config, ... }:
{
home.packages = [
pkgs.inter
pkgs.brightnessctl
pkgs.adwaita-icon-theme
pkgs.hicolor-icon-theme
];
programs.quickshell = {
enable = true;
package = inputs.quickshell.packages.${pkgs.stdenv.hostPlatform.system}.default;
activeConfig = "bar";
configs.bar = ./quickshell;
systemd.enable = true;
};
systemd.user.services.quickshell = {
Service.Environment = [
"PATH=${pkgs.sway}/bin:${pkgs.pipewire}/bin:${pkgs.wireplumber}/bin:${pkgs.brightnessctl}/bin:${config.home.profileDirectory}/bin:/run/current-system/sw/bin"
"XDG_DATA_DIRS=${pkgs.adwaita-icon-theme}/share:${pkgs.hicolor-icon-theme}/share:${config.home.profileDirectory}/share:/run/current-system/sw/share"
];
};
};
flake.modules.nixos.quickshell =
{ pkgs, ... }:
{
security.pam.services.quickshell = {
text = ''
auth required pam_unix.so
account required pam_unix.so
'';
};
};
}
|