diff --git a/flake.lock b/flake.lock index d1bfdc9..cdea966 100644 --- a/flake.lock +++ b/flake.lock @@ -178,11 +178,11 @@ ] }, "locked": { - "lastModified": 1778958912, - "narHash": "sha256-6pvS9rIF9mZRj1ENwu9fDLHeG1JFDTCpRyy6vJhXkTA=", + "lastModified": 1773889306, + "narHash": "sha256-PAqwnsBSI9SVC2QugvQ3xeYCB0otOwCacB1ueQj2tgw=", "owner": "nix-community", "repo": "disko", - "rev": "6e8dc7aa0e65fce67c76e18227a13a7d529f2cdf", + "rev": "5ad85c82cc52264f4beddc934ba57f3789f28347", "type": "github" }, "original": { @@ -457,11 +457,11 @@ ] }, "locked": { - "lastModified": 1778905220, - "narHash": "sha256-ox/5IHc8uwy6UTw6N7Shp6uCHIgu/S2PsWeuXsOHSo8=", + "lastModified": 1775425411, + "narHash": "sha256-KY6HsebJHEe5nHOWP7ur09mb0drGxYSzE3rQxy62rJo=", "owner": "nix-community", "repo": "home-manager", - "rev": "d1686dc7d36cbd1234cb226ad6ef97e882716acb", + "rev": "0d02ec1d0a05f88ef9e74b516842900c41f0f2fe", "type": "github" }, "original": { @@ -559,11 +559,11 @@ ] }, "locked": { - "lastModified": 1778393439, - "narHash": "sha256-mOtQxUjtKaPHLeoLOY/YEDctmud1X9KwJr4kE1MJ3Wc=", + "lastModified": 1775365369, + "narHash": "sha256-DgH5mveLoau20CuTnaU5RXZWgFQWn56onQ4Du2CqYoI=", "owner": "Mic92", "repo": "nix-index-database", - "rev": "01466c414c7357ae2ce32be4a272a7c69e94ab5f", + "rev": "cef5cf82671e749ac87d69aadecbb75967e6f6c3", "type": "github" }, "original": { @@ -614,11 +614,11 @@ }, "nixpkgs-unstable": { "locked": { - "lastModified": 1778869304, - "narHash": "sha256-30sZNZoA1cqF5JNO9fVX+wgiQYjB7HJqqJ4ztCDeBZE=", + "lastModified": 1775710090, + "narHash": "sha256-ar3rofg+awPB8QXDaFJhJ2jJhu+KqN/PRCXeyuXR76E=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "d233902339c02a9c334e7e593de68855ad26c4cb", + "rev": "4c1018dae018162ec878d42fec712642d214fdfa", "type": "github" }, "original": { @@ -629,11 +629,11 @@ }, "nixpkgsUnstable": { "locked": { - "lastModified": 1778443072, - "narHash": "sha256-zi7/fsqM/kFdNuED//4WOCUtezGtKKqRNORjMvfwjnA=", + "lastModified": 1775710090, + "narHash": "sha256-ar3rofg+awPB8QXDaFJhJ2jJhu+KqN/PRCXeyuXR76E=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "da5ad661ba4e5ef59ba743f0d112cbc30e474f32", + "rev": "4c1018dae018162ec878d42fec712642d214fdfa", "type": "github" }, "original": { @@ -707,11 +707,11 @@ }, "nixpkgs_5": { "locked": { - "lastModified": 1778737229, - "narHash": "sha256-6xWoytx8jFW4PF1GjRm/i/53trbpKGfz6zjzQGBr4cI=", + "lastModified": 1775811116, + "narHash": "sha256-t+HZK42pB6N+i5RGbuy7Xluez/VvWbembBdvzsc23Ss=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "d7a713c0b7e47c908258e71cba7a2d77cc8d71d5", + "rev": "54170c54449ea4d6725efd30d719c5e505f1c10e", "type": "github" }, "original": { @@ -754,11 +754,11 @@ }, "nixpkgs_8": { "locked": { - "lastModified": 1778737229, - "narHash": "sha256-6xWoytx8jFW4PF1GjRm/i/53trbpKGfz6zjzQGBr4cI=", + "lastModified": 1775811116, + "narHash": "sha256-t+HZK42pB6N+i5RGbuy7Xluez/VvWbembBdvzsc23Ss=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "d7a713c0b7e47c908258e71cba7a2d77cc8d71d5", + "rev": "54170c54449ea4d6725efd30d719c5e505f1c10e", "type": "github" }, "original": { @@ -895,11 +895,11 @@ ] }, "locked": { - "lastModified": 1777944972, - "narHash": "sha256-VfGRo1qTBKOe3s2gOv8LSoA6Fk19PvBlwQ1ECN0Evn8=", + "lastModified": 1775682595, + "narHash": "sha256-0E9PohY/VuESLq0LR4doaH7hTag513sDDW5n5qmHd1Q=", "owner": "Mic92", "repo": "sops-nix", - "rev": "c591bf665727040c6cc5cb409079acb22dcce33c", + "rev": "d2e8438d5886e92bc5e7c40c035ab6cae0c41f76", "type": "github" }, "original": { @@ -1060,11 +1060,11 @@ "nixpkgsUnstable": "nixpkgsUnstable" }, "locked": { - "lastModified": 1778909971, - "narHash": "sha256-2NvIPWV3oE9mn/6O4rIh+G8JyrA/QDQ+jWaYA2XUydo=", + "lastModified": 1775882020, + "narHash": "sha256-KzrYFXnPzoy284pibNT5HdouqyqMUuHrbRKCyPjHOhU=", "owner": "vpsfreecz", "repo": "vpsadminos", - "rev": "d1eef7c80c9f7065d77c6dfba683a01b4eeadef7", + "rev": "0aee41c6ba3b3299c437fbb363d6014b002f1645", "type": "github" }, "original": { diff --git a/hosts/phantom/mastodon.nix b/hosts/phantom/mastodon.nix index 46055eb..e21e874 100644 --- a/hosts/phantom/mastodon.nix +++ b/hosts/phantom/mastodon.nix @@ -16,9 +16,9 @@ user = "noreply@social.lelgenio.com"; passwordFile = config.sops.secrets."mastodon/smtp-password".path; }; - streamingProcesses = 1; + streamingProcesses = 2; extraConfig.SINGLE_USER_MODE = "true"; - mediaAutoRemove.olderThanDays = 2; + mediaAutoRemove.olderThanDays = 5; }; sops.secrets."mastodon/smtp-password" = { diff --git a/system/containers.nix b/system/containers.nix index 5d9141d..c1f8a88 100644 --- a/system/containers.nix +++ b/system/containers.nix @@ -15,7 +15,7 @@ enable = true; autoPrune = { enable = true; - dates = "weekly"; + dates = "monthly"; flags = [ "--all" "--volumes" diff --git a/user/git.nix b/user/git.nix index 8d10eed..e64a822 100644 --- a/user/git.nix +++ b/user/git.nix @@ -42,7 +42,6 @@ in autoupdate = true; }; branch.sort = "-committerdate"; - log.date = "format-local:%Y-%m-%d %H:%M:%S%z %a"; diff = { algorithm = "histogram"; colorMoved = "plain"; diff --git a/user/kakoune/default.nix b/user/kakoune/default.nix index fe95930..c5274c1 100644 --- a/user/kakoune/default.nix +++ b/user/kakoune/default.nix @@ -134,9 +134,6 @@ in kak-tree-sitter kak-pager kak-man-pager - nodePackages.bash-language-server - shellcheck - shfmt emmet-cli nodePackages.prettier diff --git a/user/kakoune/kak-lsp.toml b/user/kakoune/kak-lsp.toml index ad14bef..9c195bd 100644 --- a/user/kakoune/kak-lsp.toml +++ b/user/kakoune/kak-lsp.toml @@ -121,13 +121,21 @@ stubs = [ [language_server.rust-analyzer] filetypes = ["rust"] roots = ["Cargo.toml"] -command = "rust-analyzer" -single_instance = false - +command = "sh" +args = [ + "-c", + """ + if path=$(rustup which rust-analyzer 2>/dev/null); then + "$path" + else + rust-analyzer + fi + """, +] [language_server.rust-analyzer.settings.rust-analyzer] # See https://rust-analyzer.github.io/manual.html#configuration # cargo.features = [] -check.command = "clippy" +checkOnSave.command = "clippy" hoverActions.enable = false # kak-lsp doesn't support this at the moment [language_server.godot]