Compare commits

...

11 commits

Author SHA1 Message Date
911ae55146 Enable gnome keyring 2024-08-15 17:04:49 +01:00
0080af0879 Enable gnome 2024-08-15 16:54:06 +01:00
e80dee0bb9 Enable gnome 2024-08-15 16:53:06 +01:00
14d026711f Update script 2024-08-15 16:48:44 +01:00
f60e176916 Add gnome-keyring 2024-08-15 16:44:57 +01:00
7d4b3f8a6a Enable gnome3 keyring 2024-08-15 16:41:10 +01:00
634efc074b Move enableGnomeKeyring 2024-08-15 16:32:40 +01:00
80a0f5af85 Enable gnome keyring 2024-08-15 16:31:22 +01:00
7b0ebafa36 Add tail = true 2024-08-15 16:27:41 +01:00
b65dbb4a4b Install pulseaudio 2024-08-15 16:23:32 +01:00
2f75a8d993 Add pulseaudio-control 2024-08-15 16:20:09 +01:00
3 changed files with 38 additions and 11 deletions

View file

@ -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 = {
username = "${username}";
homeDirectory = "/home/${username}";
@ -39,6 +49,7 @@ in {
font-awesome
gimp
git
gnome.gnome-keyring
grub2
hack-font
htop
@ -63,9 +74,11 @@ in {
os-prober
pavucontrol
picom
pm2
plexamp
pm2
polybar
polybar-pulseaudio-control
pulseaudio
ranger
rofi
rofi-emoji

View file

@ -53,7 +53,7 @@ font-1 = Font Awesome 6 Free:style=Regular;2
font-2 = Font Awesome 6 Free:style=Solid;2
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-scroll = ns-resize
@ -114,14 +114,16 @@ label-volume = %percentage%%
label-muted = muted
label-muted-foreground = ${colors.disabled}
[module/audiooutput]
[module/pulseaudio-control-output]
type = custom/script
exec = cat ~/.cache/scripts/get-sink-name.txt
interval = 1
format = <label>
format-prefix = "OUT "
format-prefix-foreground = ${colors.primary}
label = %output%
tail = true
exec = pulseaudio-control --format 'VOL $VOL_LEVEL%' listen
click-right = exec pavucontrol &
click-left = pulseaudio-control togmute
click-middle = pulseaudio-control next-node
scroll-up = pulseaudio-control --volume-max 100 up
scroll-down = pulseaudio-control --volume-max 100 down
[module/xkeyboard]
type = internal/xkeyboard

View file

@ -43,12 +43,16 @@
i18n.defaultLocale = "en_GB.UTF-8";
security.rtkit.enable = true;
security = {
rtkit.enable = true;
pam.services.lightdm.enableGnomeKeyring = true;
};
services = {
flatpak.enable = true;
dbus.enable = true;
picom.enable = true;
gnome.gnome-keyring.enable = true;
pipewire = {
enable = true;
@ -59,9 +63,16 @@
xserver = {
enable = true;
windowManager.i3.enable = true;
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 = {
lightdm.enable = true;
lightdm.greeters.gtk.enable = true;
@ -124,6 +135,7 @@
environment.systemPackages = with pkgs; [
docker
gnome.gnome-keyring
];
virtualisation.docker.enable = true;