diff --git a/configuration.nix b/configuration.nix index 48bb1c4..261a705 100644 --- a/configuration.nix +++ b/configuration.nix @@ -29,9 +29,11 @@ in excludePackages = with pkgs; [ xterm ]; }; - users.users.pim = { - isNormalUser = true; - extraGroups = [ "wheel" ]; + users = { + users.pim = { + isNormalUser = true; + extraGroups = [ "wheel" "docker" ]; + }; }; environment = { @@ -81,6 +83,13 @@ in extraOptions = '' experimental-features = nix-command flakes ''; + + gc = { + automatic = true; + persistent = true; + dates = "weekly"; + options = "--delete-older-than 30d"; + }; }; age.secrets.wg-quick-home-privkey.file = ./secrets/wg-quick-home-privkey.age; @@ -106,4 +115,12 @@ in }]; }; }; + + virtualisation.docker = { + enable = true; + rootless = { + enable = true; + setSocketVariable = true; + }; + }; } diff --git a/home/firefox/default.nix b/home/firefox/default.nix index 2d44cff..d5825b3 100644 --- a/home/firefox/default.nix +++ b/home/firefox/default.nix @@ -11,6 +11,8 @@ let "browser.translations.automaticallyPopup" = false; "signon.rememberSignons" = false; "media.webspeech.synth.dont_notify_on_error" = true; + "browser.gesture.swipe.left" = false; + "browser.gesture.swipe.right" = false; }; in { diff --git a/home/git/default.nix b/home/git/default.nix index 735b4d5..f641c54 100644 --- a/home/git/default.nix +++ b/home/git/default.nix @@ -7,6 +7,10 @@ extraConfig = { push.autoSetupRemote = true; }; + includes = [{ + path = "~/git/suecode/.gitconfig"; + condition = "gitdir:~/git/suecode/**"; + }]; }; }; } diff --git a/home/ssh/default.nix b/home/ssh/default.nix index 04138cc..0718130 100644 --- a/home/ssh/default.nix +++ b/home/ssh/default.nix @@ -7,11 +7,6 @@ extraConfig = "User root"; matchBlocks = { - gitlab-sue = lib.hm.dag.entryBefore [ "*" ] { - hostname = "gitlab.com"; - identityFile = "~/.ssh/sue_ed25519"; - identitiesOnly = true; - }; github = lib.hm.dag.entryBefore [ "*" ] { hostname = "github.com"; user = "pizzapim";