Compare commits
2 commits
1027e9dd80
...
bf7cd5544c
Author | SHA1 | Date | |
---|---|---|---|
bf7cd5544c | |||
ba55adc044 |
2 changed files with 8 additions and 1 deletions
|
@ -54,7 +54,7 @@ in {
|
||||||
programs.git = {
|
programs.git = {
|
||||||
signing = {
|
signing = {
|
||||||
key = config.local.services.gpg.defaultKey;
|
key = config.local.services.gpg.defaultKey;
|
||||||
signByDefault = true;
|
signByDefault = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
}:
|
}:
|
||||||
with lib; let
|
with lib; let
|
||||||
cfg = config.local.gui;
|
cfg = config.local.gui;
|
||||||
|
laptop = config.trivium.laptop.enable;
|
||||||
in {
|
in {
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
programs.waybar = {
|
programs.waybar = {
|
||||||
|
@ -33,7 +34,13 @@ in {
|
||||||
"temperature"
|
"temperature"
|
||||||
"keyboard-state"
|
"keyboard-state"
|
||||||
"tray"
|
"tray"
|
||||||
|
] ++ lists.optionals laptop [
|
||||||
|
"battery"
|
||||||
];
|
];
|
||||||
|
"battery" = mkIf laptop {
|
||||||
|
format = "{capacity}% {icon}";
|
||||||
|
format-icons = ["" "" "" "" ""];
|
||||||
|
};
|
||||||
"keyboard-state" = {
|
"keyboard-state" = {
|
||||||
numlock = true;
|
numlock = true;
|
||||||
capslock = true;
|
capslock = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue