work
mat ess 2022-07-10 22:08:44 -04:00
parent c242fb62f7
commit 504a26ed12
4 changed files with 21 additions and 70 deletions

View File

@ -5,6 +5,7 @@
nix.binaryCaches = [ nix.binaryCaches = [
"https://cache.nixos.org/" "https://cache.nixos.org/"
"https://hydra.iohk.io" "https://hydra.iohk.io"
"https://cache.iog.io"
"https://nix-community.cachix.org" "https://nix-community.cachix.org"
]; ];
nix.binaryCachePublicKeys = [ nix.binaryCachePublicKeys = [
@ -17,8 +18,8 @@
]; ];
users.nix.configureBuildUsers = true; users.nix.configureBuildUsers = true;
nix.buildCores = 1; nix.buildCores = 2;
nix.maxJobs = 8; nix.maxJobs = 4;
# Enable experimental nix command and flakes # Enable experimental nix command and flakes
# nix.package = pkgs.nixUnstable; # nix.package = pkgs.nixUnstable;

View File

@ -37,29 +37,13 @@
"type": "github" "type": "github"
} }
}, },
"flake-compat_2": {
"flake": false,
"locked": {
"lastModified": 1650374568,
"narHash": "sha256-Z+s0J8/r907g149rllvwhb4pKi8Wam5ij0st8PwAh+E=",
"owner": "edolstra",
"repo": "flake-compat",
"rev": "b4a34015c698c7793d592d66adbab377907a2be8",
"type": "github"
},
"original": {
"owner": "edolstra",
"repo": "flake-compat",
"type": "github"
}
},
"flake-utils": { "flake-utils": {
"locked": { "locked": {
"lastModified": 1656065134, "lastModified": 1656928814,
"narHash": "sha256-oc6E6ByIw3oJaIyc67maaFcnjYOz1mMcOtHxbEf9NwQ=", "narHash": "sha256-RIFfgBuKz6Hp89yRr7+NR5tzIAbn52h8vT6vXkYjZoM=",
"owner": "numtide", "owner": "numtide",
"repo": "flake-utils", "repo": "flake-utils",
"rev": "bee6a7250dd1b01844a2de7e02e4df7d8a0a206c", "rev": "7e2a3b3dfd9af950a856d66b0a7d01e3c18aa249",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -70,20 +54,17 @@
}, },
"home-manager": { "home-manager": {
"inputs": { "inputs": {
"flake-compat": "flake-compat_2",
"nixpkgs": [ "nixpkgs": [
"nixpkgs-unstable" "nixpkgs-unstable"
], ],
"nmd": "nmd",
"nmt": "nmt",
"utils": "utils" "utils": "utils"
}, },
"locked": { "locked": {
"lastModified": 1656266731, "lastModified": 1657396086,
"narHash": "sha256-yHA/O4VEtjaGFyI7tUD3/eCrrcrRrscwLyPttdd4jgE=", "narHash": "sha256-4cQ6hEuewWoFkTBlu211JGxPQQ1Zyli8oEq1cu7cVeA=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "72a135b093cbf3497a287bd5b1a605dcdcc73b7a", "rev": "c645cc9f82c7753450d1fa4d1bc73b64960a9d7a",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -94,11 +75,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1656198488, "lastModified": 1656782578,
"narHash": "sha256-xe81o3Kin6a0jXA3mTxcR+jeA1jLKw3TCar5LUo/B5c=", "narHash": "sha256-1eMCBEqJplPotTo/SZ/t5HU6Sf2I8qKlZi9MX7jv9fw=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "46af3303651699dc58cfc251d9b18c0f59d857da", "rev": "573603b7fdb9feb0eb8efc16ee18a015c667ab1b",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -110,11 +91,11 @@
}, },
"nixpkgs-master": { "nixpkgs-master": {
"locked": { "locked": {
"lastModified": 1656270636, "lastModified": 1657491355,
"narHash": "sha256-gMF++Oe2wZmC63/CwoWtTD9d7XgB4jYeCLNIVOOPny0=", "narHash": "sha256-VQUKwiEiRMwGc2jVCH10zigyxO3LoCLYwG58y7pXSd8=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "f3b81e322917818cd31a58f64596cb583da67664", "rev": "9130ba39bf9f09b2775aad001b63f323801b6890",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -126,11 +107,11 @@
}, },
"nixpkgs-unstable": { "nixpkgs-unstable": {
"locked": { "locked": {
"lastModified": 1656130826, "lastModified": 1657413868,
"narHash": "sha256-dLqquYHvj6/EYPljULXJVUKcizB/8cbgdIL7aEXTDZY=", "narHash": "sha256-qDC9kUZhGhoDtOzhd6kIMUQHRZNys6/xsJAWrJB+gqU=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "72d1b0d0fac131df1ea254b65413c85609bdd2ee", "rev": "7802f1b6479d6f04bea5cc94e8290ea61e210ecf",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -140,38 +121,6 @@
"type": "github" "type": "github"
} }
}, },
"nmd": {
"flake": false,
"locked": {
"lastModified": 1653339422,
"narHash": "sha256-RNLq09vfj21TyYuUCeD6BNTNC6Ew8bLhQULZytN4Xx8=",
"owner": "rycee",
"repo": "nmd",
"rev": "91dee681dd1c478d6040a00835d73c0f4a4c5c29",
"type": "gitlab"
},
"original": {
"owner": "rycee",
"repo": "nmd",
"type": "gitlab"
}
},
"nmt": {
"flake": false,
"locked": {
"lastModified": 1648075362,
"narHash": "sha256-u36WgzoA84dMVsGXzml4wZ5ckGgfnvS0ryzo/3zn/Pc=",
"owner": "rycee",
"repo": "nmt",
"rev": "d83601002c99b78c89ea80e5e6ba21addcfe12ae",
"type": "gitlab"
},
"original": {
"owner": "rycee",
"repo": "nmt",
"type": "gitlab"
}
},
"root": { "root": {
"inputs": { "inputs": {
"darwin": "darwin", "darwin": "darwin",

View File

@ -105,6 +105,7 @@
comma # run software from without installing it comma # run software from without installing it
nixpkgs-fmt nixpkgs-fmt
nix-prefetch-git nix-prefetch-git
nix-tree
# nodePackages.node2nix # nodePackages.node2nix
] ++ lib.optionals stdenv.isDarwin [ ] ++ lib.optionals stdenv.isDarwin [

View File

@ -134,8 +134,8 @@
# OG # OG
# Nix related # Nix related
drb = "darwin-rebuild build --flake ${nixConfigDir}/; and rm result"; drb = "pushd ${nixConfigDir}/; darwin-rebuild build --flake ${nixConfigDir}/; popd";
drs = "darwin-rebuild switch --flake ${nixConfigDir}/; and rm result"; drs = "pushd ${nixConfigDir}/; darwin-rebuild switch --flake ${nixConfigDir}/; popd";
drc = "codium ${nixConfigDir}"; drc = "codium ${nixConfigDir}";
drv = "vim ${nixConfigDir}"; drv = "vim ${nixConfigDir}";
cdr = "cd ${nixConfigDir}"; cdr = "cd ${nixConfigDir}";