Compare commits

...

5 commits

Author SHA1 Message Date
Sean Buckley
f285547d34 update ad-domain for 24.11 2024-12-09 21:15:07 -05:00
Sean Buckley
f8b61ea795 remove appindicator comment 2024-12-08 22:14:55 -05:00
Sean Buckley
6b6d99e195 fix x-terminal-emulator 2024-12-08 22:13:29 -05:00
Sean Buckley
0822cce8b6 turn off nix build logs 2024-12-08 20:17:20 -05:00
Sean Buckley
2406a698c6 change maximize-horiz hotkey 2024-12-08 13:14:35 -05:00
3 changed files with 15 additions and 19 deletions

View file

@ -62,19 +62,19 @@ in
systemd.services.samba-smbd.enable = lib.mkDefault false; systemd.services.samba-smbd.enable = lib.mkDefault false;
services.samba = { services.samba = {
enable = true; enable = true;
enableNmbd = lib.mkDefault false; nmbd.enable = lib.mkDefault false;
enableWinbindd = lib.mkDefault false; winbindd.enable = lib.mkDefault false;
package = pkgs.samba4Full; package = pkgs.samba4Full;
securityType = "ads"; settings.global = {
extraConfig = '' "security" = "ads";
realm = ${lib.toUpper cfg.longname} "realm" = lib.toUpper cfg.longname;
workgroup = ${lib.toUpper cfg.shortname} "workgroup" = lib.toUpper cfg.shortname;
client use spnego = yes "client use spnego" = "yes";
restrict anonymous = 2 "restrict anonymous" = 2;
server signing = mandatory "server signing" = "mandatory";
client signing = mandatory "client signing" = "mandatory";
kerberos method = secrets and keytab "kerberos method" = "secrets and keytab";
''; };
}; };
}; };
} }

View file

@ -40,8 +40,6 @@
security.sudo.extraConfig = "Defaults lecture=never"; security.sudo.extraConfig = "Defaults lecture=never";
systemd.tmpfiles.rules = [ "e /nix/var/log - - - 30d" ];
systemd.oomd.enable = false; # using earlyoom systemd.oomd.enable = false; # using earlyoom
zramSwap.enable = lib.mkDefault true; zramSwap.enable = lib.mkDefault true;
@ -54,6 +52,7 @@
nixPath = [ "nixpkgs=flake:nixpkgs" ]; nixPath = [ "nixpkgs=flake:nixpkgs" ];
extraOptions = '' extraOptions = ''
experimental-features = nix-command flakes experimental-features = nix-command flakes
keep-build-log = false
''; '';
}; };

View file

@ -27,11 +27,8 @@ in
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
gnome-tweaks gnome-tweaks
# https://github.com/ubuntu/gnome-shell-extension-appindicator/issues/441
# gnomeExtensions.appindicator
(writeShellScriptBin "x-terminal-emulator" '' (writeShellScriptBin "x-terminal-emulator" ''
exec kitty "$@" exec alacritty "$@"
'') '')
(writeShellScriptBin "red" '' (writeShellScriptBin "red" ''
@ -54,7 +51,7 @@ in
gsettings set org.gnome.desktop.privacy remove-old-trash-files true gsettings set org.gnome.desktop.privacy remove-old-trash-files true
gsettings set org.gnome.desktop.search-providers disabled "['org.gnome.Epiphany.desktop']" gsettings set org.gnome.desktop.search-providers disabled "['org.gnome.Epiphany.desktop']"
gsettings set org.gnome.desktop.wm.keybindings maximize-vertically "['<Super>w']" gsettings set org.gnome.desktop.wm.keybindings maximize-vertically "['<Super>w']"
gsettings set org.gnome.desktop.wm.keybindings maximize-horizontally "['<Super>q']" gsettings set org.gnome.desktop.wm.keybindings maximize-horizontally "['<Super>e']"
gsettings set org.gnome.desktop.wm.keybindings switch-applications "['<Super>Tab']" gsettings set org.gnome.desktop.wm.keybindings switch-applications "['<Super>Tab']"
gsettings set org.gnome.desktop.wm.keybindings switch-applications-backward "['<Shift><Super>Tab']" gsettings set org.gnome.desktop.wm.keybindings switch-applications-backward "['<Shift><Super>Tab']"
gsettings set org.gnome.desktop.wm.keybindings switch-windows "['<Alt>Tab']" gsettings set org.gnome.desktop.wm.keybindings switch-windows "['<Alt>Tab']"