diff --git a/configuration.nix b/configuration.nix index 4344e4f..c7375a2 100644 --- a/configuration.nix +++ b/configuration.nix @@ -35,6 +35,13 @@ nix = { settings.experimental-features = [ "nix-command" "flakes" ]; + optimise.automatic = true; + gc = { + automatic = true; + dates = "weekly"; + options = "--delete-older-than 7d"; + }; + }; home-manager.users.prever.home.stateVersion = "25.11"; diff --git a/flake.lock b/flake.lock index 4e25ac1..b163737 100644 --- a/flake.lock +++ b/flake.lock @@ -7,15 +7,16 @@ ] }, "locked": { - "lastModified": 1774647770, - "narHash": "sha256-UNNi14XiqRWWjO8ykbFwA5wRwx7EscsC+GItOVpuGjc=", + "lastModified": 1774559029, + "narHash": "sha256-deix7yg3j6AhjMPnFDCmWB3f83LsajaaULP5HH2j34k=", "owner": "nix-community", "repo": "home-manager", - "rev": "02371c05a04a2876cf92e2d67a259e8f87399068", + "rev": "a0bb0d11514f92b639514220114ac8063c72d0a3", "type": "github" }, "original": { "owner": "nix-community", + "ref": "release-25.11", "repo": "home-manager", "type": "github" } diff --git a/flake.nix b/flake.nix index da8ea56..bbca89e 100644 --- a/flake.nix +++ b/flake.nix @@ -5,7 +5,7 @@ nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11"; home-manager = { - url = "github:nix-community/home-manager"; + url = "github:nix-community/home-manager/release-25.11"; inputs.nixpkgs.follows = "nixpkgs"; }; }; diff --git a/modules/default.nix b/modules/default.nix index dac4f8b..c39b2fa 100644 --- a/modules/default.nix +++ b/modules/default.nix @@ -3,5 +3,6 @@ imports = [ ./fish.nix ./nginx.nix + ./tmux.nix ]; } diff --git a/modules/tmux.nix b/modules/tmux.nix new file mode 100644 index 0000000..1db89bb --- /dev/null +++ b/modules/tmux.nix @@ -0,0 +1,10 @@ +{...}: +{ + home-manager.users.perver = { + programs.tmux = { + enable = true; + newSession = true; + shell = "fish"; + }; + }; +}