mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2024-11-15 05:13:10 +01:00
fwupd and terminal bell configuration
This commit is contained in:
parent
c16f97ae00
commit
49fa6f0b7e
|
@ -84,6 +84,7 @@
|
||||||
fprintd.enable = true; # log in using fingerprint
|
fprintd.enable = true; # log in using fingerprint
|
||||||
openssh.enable = true; # enabled ssh to have the host keys
|
openssh.enable = true; # enabled ssh to have the host keys
|
||||||
btrfs.autoScrub.enable = true; # periodically check filesystem and repair it
|
btrfs.autoScrub.enable = true; # periodically check filesystem and repair it
|
||||||
|
fwupd.enable = true; # firmware updates
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.steam.enable = true; # putting steam in here cause in home manager it doesn't work
|
programs.steam.enable = true; # putting steam in here cause in home manager it doesn't work
|
||||||
|
|
|
@ -13,6 +13,11 @@
|
||||||
font = "monospace:family=Iosevka Nerd Font, size=8";
|
font = "monospace:family=Iosevka Nerd Font, size=8";
|
||||||
};
|
};
|
||||||
cursor.color = "${colors.background} ${colors.foreground}";
|
cursor.color = "${colors.background} ${colors.foreground}";
|
||||||
|
bell = {
|
||||||
|
urgent = true;
|
||||||
|
notify = true;
|
||||||
|
#command = "${pkgs.notify-desktop}/bin/notify-desktop a";
|
||||||
|
};
|
||||||
colors =
|
colors =
|
||||||
let
|
let
|
||||||
colors = config.colorScheme.colors;
|
colors = config.colorScheme.colors;
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
pulseaudio # installed to have pactl
|
pulseaudio # installed to have pactl
|
||||||
jq
|
jq
|
||||||
notify-desktop
|
libnotify
|
||||||
wofi
|
wofi
|
||||||
wl-clipboard
|
wl-clipboard
|
||||||
grim
|
grim
|
||||||
|
@ -64,12 +64,12 @@
|
||||||
'';
|
'';
|
||||||
"mako/do-not-disturb.sh".text = ''
|
"mako/do-not-disturb.sh".text = ''
|
||||||
if [[ $(makoctl mode) = 'default' ]];then
|
if [[ $(makoctl mode) = 'default' ]];then
|
||||||
notify-desktop 'Enabled Do Not Disturb mode'
|
notify-send 'Enabled Do Not Disturb mode'
|
||||||
sleep 5
|
sleep 5
|
||||||
makoctl mode -s do-not-disturb
|
makoctl mode -s do-not-disturb
|
||||||
else
|
else
|
||||||
makoctl mode -s default
|
makoctl mode -s default
|
||||||
notify-desktop 'Disabled Do Not Disturb mode'
|
notify-send 'Disabled Do Not Disturb mode'
|
||||||
fi
|
fi
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue