Compare commits

..

7 commits

Author SHA1 Message Date
10e0484f16
feat: add nix store optimization and gc options 2024-09-17 02:15:08 -07:00
5ab18f41ca
chore: enable flakes and nix-command by default in core module 2024-09-17 02:13:06 -07:00
202f294ce3
flake.lock: Update
Flake lock file updates:

• Updated input 'personal-neovim':
    'github:youwen5/neovim-flake/d1db93ef00954e2b5cb546e2fab421353c661546' (2024-09-17)
  → 'github:youwen5/neovim-flake/10253909c98a586ffdbe31f5806e96b58da01be1' (2024-09-17)
2024-09-17 02:09:05 -07:00
9b5427a7a5
flake.lock: Update
Flake lock file updates:

• Updated input 'personal-neovim':
    'github:youwen5/neovim-flake/4fa6fcdd518f912bd4cb197b6f1064b2e7019d39' (2024-09-17)
  → 'github:youwen5/neovim-flake/d1db93ef00954e2b5cb546e2fab421353c661546' (2024-09-17)
2024-09-17 01:39:17 -07:00
24e1c4274d
flake.lock: Update
Flake lock file updates:

• Updated input 'personal-neovim':
    'github:youwen5/neovim-flake/ee5453c9d13e26c0b26c758457fc3dff342b0b2f' (2024-09-17)
  → 'github:youwen5/neovim-flake/4fa6fcdd518f912bd4cb197b6f1064b2e7019d39' (2024-09-17)
2024-09-17 01:27:12 -07:00
3a0c89770f
flake.lock: Update
Flake lock file updates:

• Updated input 'home-manager':
    'github:nix-community/home-manager/cb3ab5928cbe8ac3cfee7010ccad4c31dbc1fb5f' (2024-09-13)
  → 'github:nix-community/home-manager/a9c9cc6e50f7cbd2d58ccb1cd46a1e06e9e445ff' (2024-09-15)
• Updated input 'homebrew-cask':
    'github:homebrew/homebrew-cask/83c16010de43c2c1ad9e8501b1a5a1bcd48192dd' (2024-09-13)
  → 'github:homebrew/homebrew-cask/ba5f8b30d33ce3e82e6b67c8238ce5f05f472ef4' (2024-09-17)
• Updated input 'homebrew-core':
    'github:homebrew/homebrew-core/82a2f0b56bd4d117b037b0b6394e604eb16f284d' (2024-09-13)
  → 'github:homebrew/homebrew-core/d780ff50b11a8b40fb3bd612d557d15180c550a1' (2024-09-17)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/1355a0cbfeac61d785b7183c0caaec1f97361b43' (2024-09-10)
  → 'github:nixos/nixpkgs/99dc8785f6a0adac95f5e2ab05cc2e1bf666d172' (2024-09-16)
• Updated input 'spicetify':
    'github:Gerg-L/spicetify-nix/856a4212b354cfa1f1c747691e1ddf37ff9b1984' (2024-09-13)
  → 'github:Gerg-L/spicetify-nix/65e118fae842aa8d7c0d3c11e3b484effc0dde16' (2024-09-17)
2024-09-17 01:03:17 -07:00
5bdf797b03
flake.lock: Update
Flake lock file updates:

• Updated input 'personal-neovim':
    'github:youwen5/neovim-flake/aaa7fb7c07eb0bb2d1d6003c3d3b65fe746f142f' (2024-09-13)
  → 'github:youwen5/neovim-flake/ee5453c9d13e26c0b26c758457fc3dff342b0b2f' (2024-09-17)
• Updated input 'personal-neovim/haskell-tools':
    'github:mrcjkb/haskell-tools.nvim/2443c3b2ab049561009d1b5712e839db546b6586' (2024-09-10)
  → 'github:mrcjkb/haskell-tools.nvim/1edf2bb5ced056b5d3d1df783dd02041ce09b087' (2024-09-16)
• Added input 'personal-neovim/lsp-progress':
    'github:linrongbin16/lsp-progress.nvim/d5f4d28efe75ce636bfbe271eb45f39689765aab' (2024-07-15)
• Updated input 'personal-neovim/nixvim':
    'github:nix-community/nixvim/27a0dd435dd3563f4cf9d788601fadfce8c59db6' (2024-09-12)
  → 'github:nix-community/nixvim/2e3083e42509c399b224239f6d7fa17976b18536' (2024-09-16)
• Updated input 'personal-neovim/nixvim/flake-parts':
    'github:hercules-ci/flake-parts/8471fe90ad337a8074e957b69ca4d0089218391d' (2024-08-01)
  → 'github:hercules-ci/flake-parts/bcef6817a8b2aa20a5a6dbb19b43e63c5bf8619a' (2024-09-12)
• Updated input 'personal-neovim/nixvim/git-hooks':
    'github:cachix/git-hooks.nix/4509ca64f1084e73bc7a721b20c669a8d4c5ebe6' (2024-08-28)
  → 'github:cachix/git-hooks.nix/7570de7b9b504cfe92025dd1be797bf546f66528' (2024-09-05)
• Updated input 'personal-neovim/nixvim/home-manager':
    'github:nix-community/home-manager/c2cd2a52e02f1dfa1c88f95abeb89298d46023be' (2024-08-23)
  → 'github:nix-community/home-manager/e524c57b1fa55d6ca9d8354c6ce1e538d2a1f47f' (2024-09-14)
• Updated input 'personal-neovim/nixvim/nix-darwin':
    'github:lnl7/nix-darwin/ac5694a0b855a981e81b4d9f14052e3ff46ca39e' (2024-08-25)
  → 'github:lnl7/nix-darwin/21fe31f26473c180390cfa81e3ea81aca0204c80' (2024-09-13)
• Updated input 'personal-neovim/nixvim/nuschtosSearch':
    'github:NuschtOS/search/5a08d691de30b6fc28d58ce71a5e420f2694e087' (2024-08-25)
  → 'github:NuschtOS/search/97d34b70deed4878fcb2449ac89dab717d72efa1' (2024-09-15)
• Updated input 'personal-neovim/nixvim/treefmt-nix':
    'github:numtide/treefmt-nix/3ffd842a5f50f435d3e603312eefa4790db46af5' (2024-08-28)
  → 'github:numtide/treefmt-nix/9fb342d14b69aefdf46187f6bb80a4a0d97007cd' (2024-09-02)
• Updated input 'personal-neovim/render-markdown':
    'github:MeanderingProgrammer/render-markdown.nvim/cdb58fc97c49a1ab75b35d99183c35b5863e845a' (2024-09-13)
  → 'github:MeanderingProgrammer/render-markdown.nvim/2424693c7a4c79641a7ea1e2a838dbc9238d6066' (2024-09-16)
2024-09-17 01:01:58 -07:00
5 changed files with 80 additions and 57 deletions

View file

@ -222,11 +222,11 @@
]
},
"locked": {
"lastModified": 1722555600,
"narHash": "sha256-XOQkdLafnb/p9ij77byFQjDf5m5QYl9b2REiVClC+x4=",
"lastModified": 1726153070,
"narHash": "sha256-HO4zgY0ekfwO5bX0QH/3kJ/h4KvUDFZg8YpkNwIbg1U=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "8471fe90ad337a8074e957b69ca4d0089218391d",
"rev": "bcef6817a8b2aa20a5a6dbb19b43e63c5bf8619a",
"type": "github"
},
"original": {
@ -360,11 +360,11 @@
]
},
"locked": {
"lastModified": 1724857454,
"narHash": "sha256-Qyl9Q4QMTLZnnBb/8OuQ9LSkzWjBU1T5l5zIzTxkkhk=",
"lastModified": 1725513492,
"narHash": "sha256-tyMUA6NgJSvvQuzB7A1Sf8+0XCHyfSPRx/b00o6K0uo=",
"owner": "cachix",
"repo": "git-hooks.nix",
"rev": "4509ca64f1084e73bc7a721b20c669a8d4c5ebe6",
"rev": "7570de7b9b504cfe92025dd1be797bf546f66528",
"type": "github"
},
"original": {
@ -421,11 +421,11 @@
"haskell-tools": {
"flake": false,
"locked": {
"lastModified": 1725935019,
"narHash": "sha256-M+AcprniBOBQFkhXCacAyBtFF5FZyGSG5F6e8ld+r9c=",
"lastModified": 1726521542,
"narHash": "sha256-TyqjJohmIwuqMqy01H3sRRcm8okNeWtAfLqX2Ehr9mQ=",
"owner": "mrcjkb",
"repo": "haskell-tools.nvim",
"rev": "2443c3b2ab049561009d1b5712e839db546b6586",
"rev": "1edf2bb5ced056b5d3d1df783dd02041ce09b087",
"type": "github"
},
"original": {
@ -441,11 +441,11 @@
]
},
"locked": {
"lastModified": 1726217347,
"narHash": "sha256-Ssp4YjJyeGfiTEPqsq9IgylInKZJGWDHOoeyyITTzpU=",
"lastModified": 1726440980,
"narHash": "sha256-ChhIrjtdu5d83W+YDRH+Ec5g1MmM0xk6hJnkz15Ot7M=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "cb3ab5928cbe8ac3cfee7010ccad4c31dbc1fb5f",
"rev": "a9c9cc6e50f7cbd2d58ccb1cd46a1e06e9e445ff",
"type": "github"
},
"original": {
@ -463,11 +463,11 @@
]
},
"locked": {
"lastModified": 1724435763,
"narHash": "sha256-UNky3lJNGQtUEXT2OY8gMxejakSWPTfWKvpFkpFlAfM=",
"lastModified": 1726357542,
"narHash": "sha256-p4OrJL2weh0TRtaeu1fmNYP6+TOp/W2qdaIJxxQay4c=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "c2cd2a52e02f1dfa1c88f95abeb89298d46023be",
"rev": "e524c57b1fa55d6ca9d8354c6ce1e538d2a1f47f",
"type": "github"
},
"original": {
@ -479,11 +479,11 @@
"homebrew-cask": {
"flake": false,
"locked": {
"lastModified": 1726210825,
"narHash": "sha256-Smts/6c1+0LHxZ0uFGoT64zXk4LIlVxoPsOlgq8OxUE=",
"lastModified": 1726553505,
"narHash": "sha256-BaV87fEIX65lcHdq/w6/f3RvbKyhEnjFbPQ7SGybbs0=",
"owner": "homebrew",
"repo": "homebrew-cask",
"rev": "83c16010de43c2c1ad9e8501b1a5a1bcd48192dd",
"rev": "ba5f8b30d33ce3e82e6b67c8238ce5f05f472ef4",
"type": "github"
},
"original": {
@ -495,11 +495,11 @@
"homebrew-core": {
"flake": false,
"locked": {
"lastModified": 1726217201,
"narHash": "sha256-38Rsn2u+KplzNgLF9SsmoLDXMK3bEWKfJyJWgumsnk4=",
"lastModified": 1726556616,
"narHash": "sha256-QbaVuqJnb1UMMJRhtfWprjcV17QcDpkFAIWnPVqW0vY=",
"owner": "homebrew",
"repo": "homebrew-core",
"rev": "82a2f0b56bd4d117b037b0b6394e604eb16f284d",
"rev": "d780ff50b11a8b40fb3bd612d557d15180c550a1",
"type": "github"
},
"original": {
@ -570,6 +570,22 @@
"url": "https://git.lix.systems/lix-project/nixos-module/archive/2.90.0.tar.gz"
}
},
"lsp-progress": {
"flake": false,
"locked": {
"lastModified": 1721008335,
"narHash": "sha256-OafRT5AnxRTOh7MYofRFjti0+pobKQihymZs/kr5w0A=",
"owner": "linrongbin16",
"repo": "lsp-progress.nvim",
"rev": "d5f4d28efe75ce636bfbe271eb45f39689765aab",
"type": "github"
},
"original": {
"owner": "linrongbin16",
"repo": "lsp-progress.nvim",
"type": "github"
}
},
"nix-darwin": {
"inputs": {
"nixpkgs": [
@ -617,11 +633,11 @@
]
},
"locked": {
"lastModified": 1724561770,
"narHash": "sha256-zv8C9RNa86CIpyHwPIVO/k+5TfM8ZbjGwOOpTe1grls=",
"lastModified": 1726188813,
"narHash": "sha256-Vop/VRi6uCiScg/Ic+YlwsdIrLabWUJc57dNczp0eBc=",
"owner": "lnl7",
"repo": "nix-darwin",
"rev": "ac5694a0b855a981e81b4d9f14052e3ff46ca39e",
"rev": "21fe31f26473c180390cfa81e3ea81aca0204c80",
"type": "github"
},
"original": {
@ -696,11 +712,11 @@
},
"nixpkgs_2": {
"locked": {
"lastModified": 1725983898,
"narHash": "sha256-4b3A9zPpxAxLnkF9MawJNHDtOOl6ruL0r6Og1TEDGCE=",
"lastModified": 1726463316,
"narHash": "sha256-gI9kkaH0ZjakJOKrdjaI/VbaMEo9qBbSUl93DnU7f4c=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "1355a0cbfeac61d785b7183c0caaec1f97361b43",
"rev": "99dc8785f6a0adac95f5e2ab05cc2e1bf666d172",
"type": "github"
},
"original": {
@ -726,11 +742,11 @@
"treefmt-nix": "treefmt-nix"
},
"locked": {
"lastModified": 1726148694,
"narHash": "sha256-bR7LFVtMjiVlO2OpmDSuLQ2XQr+h+JtVFYObAbThZSs=",
"lastModified": 1726502324,
"narHash": "sha256-I/WFSIBeIjlY3CgSJ6IRYxP2aEJ6b42Y1HAeATlBh48=",
"owner": "nix-community",
"repo": "nixvim",
"rev": "27a0dd435dd3563f4cf9d788601fadfce8c59db6",
"rev": "2e3083e42509c399b224239f6d7fa17976b18536",
"type": "github"
},
"original": {
@ -749,11 +765,11 @@
]
},
"locked": {
"lastModified": 1724584782,
"narHash": "sha256-7FfHv7b1jwMPSu9SPY9hdxStk8E6EeSwzqdvV69U4BM=",
"lastModified": 1726392886,
"narHash": "sha256-9RtOuG7V8KG8IU8nZje5EQ1WSM/inr7+zb3tAgTiHDM=",
"owner": "NuschtOS",
"repo": "search",
"rev": "5a08d691de30b6fc28d58ce71a5e420f2694e087",
"rev": "97d34b70deed4878fcb2449ac89dab717d72efa1",
"type": "github"
},
"original": {
@ -766,6 +782,7 @@
"inputs": {
"flake-parts": "flake-parts_2",
"haskell-tools": "haskell-tools",
"lsp-progress": "lsp-progress",
"nixpkgs": [
"nixpkgs"
],
@ -774,11 +791,11 @@
"satellite": "satellite"
},
"locked": {
"lastModified": 1726217417,
"narHash": "sha256-SIx1oGdjoy5RnVd29XZH3jnIh/yw3mTfmcHoqn3pGLI=",
"lastModified": 1726564137,
"narHash": "sha256-kN7fK4WjkeU9wKP4PxFv9NAEDGiq6dIy5QZkw7/CW9k=",
"owner": "youwen5",
"repo": "neovim-flake",
"rev": "aaa7fb7c07eb0bb2d1d6003c3d3b65fe746f142f",
"rev": "10253909c98a586ffdbe31f5806e96b58da01be1",
"type": "github"
},
"original": {
@ -817,11 +834,11 @@
"render-markdown": {
"flake": false,
"locked": {
"lastModified": 1726214512,
"narHash": "sha256-lroID1tHXL91WxTMxy8CsDp/3M5oHVQ4SvwGSGkTa5k=",
"lastModified": 1726511696,
"narHash": "sha256-l0k39OXcpoH7D6UmuQy0LNLj+8HCkKz9R/4zVH4bEt0=",
"owner": "MeanderingProgrammer",
"repo": "render-markdown.nvim",
"rev": "cdb58fc97c49a1ab75b35d99183c35b5863e845a",
"rev": "2424693c7a4c79641a7ea1e2a838dbc9238d6066",
"type": "github"
},
"original": {
@ -915,11 +932,11 @@
]
},
"locked": {
"lastModified": 1726201008,
"narHash": "sha256-qiW2nZ6yo2NdkoH0+K2/p4eUElEtWIOo711dOB4rJhg=",
"lastModified": 1726546530,
"narHash": "sha256-cgfOnRrsSgxXOUNqTyiLFlnFSC7ukveTEqAzsanCHdk=",
"owner": "Gerg-L",
"repo": "spicetify-nix",
"rev": "856a4212b354cfa1f1c747691e1ddf37ff9b1984",
"rev": "65e118fae842aa8d7c0d3c11e3b484effc0dde16",
"type": "github"
},
"original": {
@ -1012,11 +1029,11 @@
]
},
"locked": {
"lastModified": 1724833132,
"narHash": "sha256-F4djBvyNRAXGusJiNYInqR6zIMI3rvlp6WiKwsRISos=",
"lastModified": 1725271838,
"narHash": "sha256-VcqxWT0O/gMaeWTTjf1r4MOyG49NaNxW4GHTO3xuThE=",
"owner": "numtide",
"repo": "treefmt-nix",
"rev": "3ffd842a5f50f435d3e603312eefa4790db46af5",
"rev": "9fb342d14b69aefdf46187f6bb80a4a0d97007cd",
"type": "github"
},
"original": {

View file

@ -149,10 +149,6 @@
"root"
"youwen"
];
experimental-features = [
"nix-command"
"flakes"
];
};
services.udev.extraRules = ''

View file

@ -111,10 +111,6 @@
"root"
"youwen"
];
experimental-features = [
"nix-command"
"flakes"
];
};
services.udev.extraRules = ''

View file

@ -132,10 +132,6 @@
"root"
"youwen"
];
experimental-features = [
"nix-command"
"flakes"
];
};
services.udev.extraRules = ''

View file

@ -22,4 +22,22 @@
};
services.gnome.gnome-keyring.enable = true;
nix = {
settings.experimental-features = [
"nix-command"
"flakes"
];
optimise.automatic = true;
gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 14d";
};
# Free up to 1GiB when there is less than 100MiB left
extraOptions = ''
min-free = ${toString (100 * 1024 * 1024)}
max-free = ${toString (1024 * 1024 * 1024)}
'';
};
}