allow about config

This commit is contained in:
jopejoe1 2024-12-13 18:05:23 +01:00
parent d7571c023a
commit b14a13a689

View file

@ -47,39 +47,41 @@ in
];
};
home-manager.users.c3terminal = {
home = {
username = config.users.users.c3terminal.name;
homeDirectory = config.users.users.c3terminal.home;
stateVersion = config.system.stateVersion;
};
programs = {
firefox = {
enable = true;
package = pkgs.firefox-esr;
policies = {
SupportMenu = {
Title = "Config";
URL = "https://git.hamburg.ccc.de/jopejoe1/c3terminal";
};
BlockAboutConfig = true;
Preferences = {
"browser.ssb.enabled" = lock true;
"ui.osk.detected_physical_keyboard" = lock false;
"browser.gesture.pinch.in" = lock false;
"browser.gesture.pinch.out" = lock false;
"zoom.maxPercent" = lock 100;
"zoom.minPercent" = lock 100;
home-manager = {
users.c3terminal = {
home = {
username = config.users.users.c3terminal.name;
homeDirectory = config.users.users.c3terminal.home;
stateVersion = config.system.stateVersion;
};
programs = {
firefox = {
enable = true;
package = pkgs.firefox-esr;
policies = {
SupportMenu = {
Title = "Config";
URL = "https://git.hamburg.ccc.de/jopejoe1/c3terminal";
};
BlockAboutConfig = false;
Preferences = {
"browser.ssb.enabled" = lock true;
"ui.osk.detected_physical_keyboard" = lock false;
"browser.gesture.pinch.in" = lock false;
"browser.gesture.pinch.out" = lock false;
"zoom.maxPercent" = lock 100;
"zoom.minPercent" = lock 100;
};
};
};
};
};
wayland.windowManager.sway = {
enable = true;
extraConfig = ''
bindgesture swipe:right workspace prev
bindgesture swipe:left workspace next
'';
wayland.windowManager.sway = {
enable = true;
extraConfig = ''
bindgesture swipe:right workspace prev
bindgesture swipe:left workspace next
'';
};
};
};