Compare commits
11 commits
613d216572
...
911ae55146
Author | SHA1 | Date | |
---|---|---|---|
911ae55146 | |||
0080af0879 | |||
e80dee0bb9 | |||
14d026711f | |||
f60e176916 | |||
7d4b3f8a6a | |||
634efc074b | |||
80a0f5af85 | |||
7b0ebafa36 | |||
b65dbb4a4b | |||
2f75a8d993 |
3 changed files with 38 additions and 11 deletions
|
@ -15,6 +15,16 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
xsession = {
|
||||||
|
enable = true;
|
||||||
|
initExtra = ''
|
||||||
|
eval $(gnome-keyring-daemon --start --components=pkcs11,secrets,ssh)
|
||||||
|
export SSH_AUTH_SOCK
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
|
services.gnome-keyring.enable = true;
|
||||||
|
|
||||||
home = {
|
home = {
|
||||||
username = "${username}";
|
username = "${username}";
|
||||||
homeDirectory = "/home/${username}";
|
homeDirectory = "/home/${username}";
|
||||||
|
@ -39,6 +49,7 @@ in {
|
||||||
font-awesome
|
font-awesome
|
||||||
gimp
|
gimp
|
||||||
git
|
git
|
||||||
|
gnome.gnome-keyring
|
||||||
grub2
|
grub2
|
||||||
hack-font
|
hack-font
|
||||||
htop
|
htop
|
||||||
|
@ -63,9 +74,11 @@ in {
|
||||||
os-prober
|
os-prober
|
||||||
pavucontrol
|
pavucontrol
|
||||||
picom
|
picom
|
||||||
pm2
|
|
||||||
plexamp
|
plexamp
|
||||||
|
pm2
|
||||||
polybar
|
polybar
|
||||||
|
polybar-pulseaudio-control
|
||||||
|
pulseaudio
|
||||||
ranger
|
ranger
|
||||||
rofi
|
rofi
|
||||||
rofi-emoji
|
rofi-emoji
|
||||||
|
|
|
@ -53,7 +53,7 @@ font-1 = Font Awesome 6 Free:style=Regular;2
|
||||||
font-2 = Font Awesome 6 Free:style=Solid;2
|
font-2 = Font Awesome 6 Free:style=Solid;2
|
||||||
|
|
||||||
modules-left = xworkspaces xwindow
|
modules-left = xworkspaces xwindow
|
||||||
modules-right = filesystem audiooutput pulseaudio xkeyboard memory cpu battery date
|
modules-right = filesystem pulseaudio-control-output xkeyboard memory cpu battery date
|
||||||
|
|
||||||
cursor-click = pointer
|
cursor-click = pointer
|
||||||
cursor-scroll = ns-resize
|
cursor-scroll = ns-resize
|
||||||
|
@ -114,14 +114,16 @@ label-volume = %percentage%%
|
||||||
label-muted = muted
|
label-muted = muted
|
||||||
label-muted-foreground = ${colors.disabled}
|
label-muted-foreground = ${colors.disabled}
|
||||||
|
|
||||||
[module/audiooutput]
|
[module/pulseaudio-control-output]
|
||||||
type = custom/script
|
type = custom/script
|
||||||
exec = cat ~/.cache/scripts/get-sink-name.txt
|
tail = true
|
||||||
interval = 1
|
exec = pulseaudio-control --format 'VOL $VOL_LEVEL%' listen
|
||||||
format = <label>
|
|
||||||
format-prefix = "OUT "
|
click-right = exec pavucontrol &
|
||||||
format-prefix-foreground = ${colors.primary}
|
click-left = pulseaudio-control togmute
|
||||||
label = %output%
|
click-middle = pulseaudio-control next-node
|
||||||
|
scroll-up = pulseaudio-control --volume-max 100 up
|
||||||
|
scroll-down = pulseaudio-control --volume-max 100 down
|
||||||
|
|
||||||
[module/xkeyboard]
|
[module/xkeyboard]
|
||||||
type = internal/xkeyboard
|
type = internal/xkeyboard
|
||||||
|
|
|
@ -43,12 +43,16 @@
|
||||||
|
|
||||||
i18n.defaultLocale = "en_GB.UTF-8";
|
i18n.defaultLocale = "en_GB.UTF-8";
|
||||||
|
|
||||||
security.rtkit.enable = true;
|
security = {
|
||||||
|
rtkit.enable = true;
|
||||||
|
pam.services.lightdm.enableGnomeKeyring = true;
|
||||||
|
};
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
flatpak.enable = true;
|
flatpak.enable = true;
|
||||||
dbus.enable = true;
|
dbus.enable = true;
|
||||||
picom.enable = true;
|
picom.enable = true;
|
||||||
|
gnome.gnome-keyring.enable = true;
|
||||||
|
|
||||||
pipewire = {
|
pipewire = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -59,9 +63,16 @@
|
||||||
|
|
||||||
xserver = {
|
xserver = {
|
||||||
enable = true;
|
enable = true;
|
||||||
windowManager.i3.enable = true;
|
|
||||||
xkb.layout = "us";
|
xkb.layout = "us";
|
||||||
|
|
||||||
|
windowManager.i3 = {
|
||||||
|
enable = true;
|
||||||
|
extraSessionCommands = ''
|
||||||
|
eval $(${pkgs.gnome3.gnome-keyring}/bin/gnome-keyring-daemon --daemonize --components=ssh,secrets)
|
||||||
|
export SSH_AUTH_SOCK
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
displayManager = {
|
displayManager = {
|
||||||
lightdm.enable = true;
|
lightdm.enable = true;
|
||||||
lightdm.greeters.gtk.enable = true;
|
lightdm.greeters.gtk.enable = true;
|
||||||
|
@ -124,6 +135,7 @@
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
docker
|
docker
|
||||||
|
gnome.gnome-keyring
|
||||||
];
|
];
|
||||||
|
|
||||||
virtualisation.docker.enable = true;
|
virtualisation.docker.enable = true;
|
||||||
|
|
Loading…
Reference in a new issue