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 = { 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

View file

@ -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

View file

@ -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;