mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
nix-collect-garbage fixed
This commit is contained in:
parent
0d2e560191
commit
3b2d407db1
3 changed files with 8 additions and 7 deletions
8
flake.lock
generated
8
flake.lock
generated
|
|
@ -152,17 +152,17 @@
|
||||||
"nixpkgs-regression": "nixpkgs-regression"
|
"nixpkgs-regression": "nixpkgs-regression"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1681227902,
|
"lastModified": 1684340480,
|
||||||
"narHash": "sha256-hNHfvmb1bIWwqFT5nesQgwh4V0OlyZHxj5ZVSQbZ+p4=",
|
"narHash": "sha256-Am5hyxd37D5WukGddmF2TqSAtBMYcQeOc4DVWpD34cI=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nix",
|
"repo": "nix",
|
||||||
"rev": "8340e2623a7f87b86c0bb88666c85ef6c8562519",
|
"rev": "684e9be8b9356f92b7882d74cba9d146fb71f850",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"ref": "latest-release",
|
|
||||||
"repo": "nix",
|
"repo": "nix",
|
||||||
|
"rev": "684e9be8b9356f92b7882d74cba9d146fb71f850",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
|
unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||||
stable.url = "github:NixOS/nixpkgs/nixos-22.11";
|
stable.url = "github:NixOS/nixpkgs/nixos-22.11";
|
||||||
#nix 2.16
|
#nix 2.16
|
||||||
nix.url = "github:NixOS/nix/latest-release";
|
nix.url = "github:NixOS/nix/684e9be8b9356f92b7882d74cba9d146fb71f850";
|
||||||
|
|
||||||
nixos-generators = {
|
nixos-generators = {
|
||||||
url = "github:nix-community/nixos-generators";
|
url = "github:nix-community/nixos-generators";
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
{
|
{
|
||||||
|
pkgs,
|
||||||
inputs,
|
inputs,
|
||||||
lib,
|
lib,
|
||||||
self,
|
self,
|
||||||
|
|
@ -30,7 +31,7 @@ in {
|
||||||
|
|
||||||
#other nix settings
|
#other nix settings
|
||||||
nix = {
|
nix = {
|
||||||
#package = inputs.nix.packages.${pkgs.system}.default;
|
package = inputs.nix.packages.${pkgs.system}.default;
|
||||||
settings = {
|
settings = {
|
||||||
experimental-features = ["nix-command" "flakes" "repl-flake"];
|
experimental-features = ["nix-command" "flakes" "repl-flake"];
|
||||||
auto-optimise-store = true;
|
auto-optimise-store = true;
|
||||||
|
|
@ -38,7 +39,7 @@ in {
|
||||||
#ignore global registry
|
#ignore global registry
|
||||||
flake-registry = builtins.toFile "empty-flake-registry.json" ''{"flakes":[],"version":2}'';
|
flake-registry = builtins.toFile "empty-flake-registry.json" ''{"flakes":[],"version":2}'';
|
||||||
#become stable faster stupid
|
#become stable faster stupid
|
||||||
#use-xdg-base-directories = true;
|
use-xdg-base-directories = true;
|
||||||
trusted-users = [
|
trusted-users = [
|
||||||
"root"
|
"root"
|
||||||
"@wheel"
|
"@wheel"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue