remove unused sources

This commit is contained in:
Cyryl Płotnicki 2022-06-04 08:40:14 +01:00
parent e943b3ccec
commit b0662675c8
2 changed files with 7 additions and 143 deletions

View file

@ -1,24 +1,5 @@
{ {
"nodes": { "nodes": {
"agenix": {
"inputs": {
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1652712410,
"narHash": "sha256-hMJ2TqLt0DleEnQFGUHK9sV2aAzJPU8pZeiZoqRozbE=",
"owner": "ryantm",
"repo": "agenix",
"rev": "7e5e58b98c3dcbf497543ff6f22591552ebfe65b",
"type": "github"
},
"original": {
"owner": "ryantm",
"ref": "main",
"repo": "agenix",
"type": "github"
}
},
"darwin": { "darwin": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@ -40,22 +21,6 @@
"type": "github" "type": "github"
} }
}, },
"flake-compat": {
"flake": false,
"locked": {
"lastModified": 1606424373,
"narHash": "sha256-oq8d4//CJOrVj+EcOaSXvMebvuTkmBJuT5tzlfewUnQ=",
"owner": "edolstra",
"repo": "flake-compat",
"rev": "99f1c2157fba4bfe6211a321fd0ee43199025dbf",
"type": "github"
},
"original": {
"owner": "edolstra",
"repo": "flake-compat",
"type": "github"
}
},
"flake-utils": { "flake-utils": {
"locked": { "locked": {
"lastModified": 1653893745, "lastModified": 1653893745,
@ -72,21 +37,6 @@
"type": "github" "type": "github"
} }
}, },
"flake-utils_2": {
"locked": {
"lastModified": 1617631617,
"narHash": "sha256-PARRCz55qN3gy07VJZIlFeOX420d0nGF0RzGI/9hVlw=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "b2c27d1a81b0dc266270fa8aeecebbd1807fc610",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"home-manager": { "home-manager": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@ -108,27 +58,6 @@
"type": "github" "type": "github"
} }
}, },
"neuron": {
"inputs": {
"flake-compat": "flake-compat",
"flake-utils": "flake-utils_2",
"nixpkgs": "nixpkgs_2"
},
"locked": {
"lastModified": 1649334661,
"narHash": "sha256-nwiCwTFtCfUNyR7iWI7Wf8r4Ri6zOmhQdGYVVbjytyA=",
"owner": "srid",
"repo": "neuron",
"rev": "f8b5fb597f85528ae4d7d1ded9e79ac901833665",
"type": "github"
},
"original": {
"owner": "srid",
"ref": "master",
"repo": "neuron",
"type": "github"
}
},
"nixos-hardware": { "nixos-hardware": {
"locked": { "locked": {
"lastModified": 1654057797, "lastModified": 1654057797,
@ -145,22 +74,6 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs": {
"locked": {
"lastModified": 1638587357,
"narHash": "sha256-2ySMW3QARG8BsRPmwe7clTbdCuaObromOKewykP+UJc=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "e34c5379866833f41e2a36f309912fa675d687c7",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-21.11",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs-21_11": { "nixpkgs-21_11": {
"locked": { "locked": {
"lastModified": 1653819578, "lastModified": 1653819578,
@ -225,38 +138,6 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_2": {
"locked": {
"lastModified": 1630140382,
"narHash": "sha256-ntXepAHFlAEtaYIU5EzckRUODeeMgpu1u2Yug+4LFNc=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "08ef0f28e3a41424b92ba1d203de64257a9fca6a",
"type": "github"
},
"original": {
"owner": "nixos",
"repo": "nixpkgs",
"rev": "08ef0f28e3a41424b92ba1d203de64257a9fca6a",
"type": "github"
}
},
"nixpkgs_3": {
"locked": {
"lastModified": 1653738054,
"narHash": "sha256-IaR8iLN4Ms3f5EjU1CJkXSc49ZzyS5qv03DtVAti6/s=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "17b62c338f2a0862a58bb6951556beecd98ccda9",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nur": { "nur": {
"locked": { "locked": {
"lastModified": 1654248756, "lastModified": 1654248756,
@ -275,11 +156,9 @@
}, },
"root": { "root": {
"inputs": { "inputs": {
"agenix": "agenix",
"darwin": "darwin", "darwin": "darwin",
"flake-utils": "flake-utils", "flake-utils": "flake-utils",
"home-manager": "home-manager", "home-manager": "home-manager",
"neuron": "neuron",
"nixos-hardware": "nixos-hardware", "nixos-hardware": "nixos-hardware",
"nixpkgs-nixos-unstable": "nixpkgs-nixos-unstable", "nixpkgs-nixos-unstable": "nixpkgs-nixos-unstable",
"nixpkgs-stable": "nixpkgs-stable", "nixpkgs-stable": "nixpkgs-stable",
@ -289,7 +168,9 @@
}, },
"sops": { "sops": {
"inputs": { "inputs": {
"nixpkgs": "nixpkgs_3", "nixpkgs": [
"nixpkgs-stable"
],
"nixpkgs-21_11": "nixpkgs-21_11", "nixpkgs-21_11": "nixpkgs-21_11",
"nixpkgs-22_05": "nixpkgs-22_05" "nixpkgs-22_05": "nixpkgs-22_05"
}, },

View file

@ -1,18 +1,14 @@
{ {
description = "NixOS configuration with flakes"; description = "NixOS configuration with flakes";
outputs = { self, flake-utils, home-manager, nixpkgs-nixos-unstable outputs = { self, flake-utils, home-manager, nixpkgs-nixos-unstable
, nixpkgs-stable, darwin, nixos-hardware, nur, agenix, neuron, sops, , nixpkgs-stable, darwin, nixos-hardware, nur, sops, }@inputs:
}@inputs:
let let
mkServer = pkgs: system: hostname: mkServer = pkgs: system: hostname:
pkgs.lib.nixosSystem { pkgs.lib.nixosSystem {
inherit system; inherit system;
modules = [ modules =
(./. + "/nixos/boxes/${hostname}") [ (./. + "/nixos/boxes/${hostname}") sops.nixosModules.sops ];
agenix.nixosModules.age
sops.nixosModules.sops
];
specialArgs = { inherit inputs; }; specialArgs = { inherit inputs; };
}; };
mkRaspi = pkgs: hostname: mkRaspi = pkgs: hostname:
@ -206,25 +202,12 @@
ref = "master"; ref = "master";
}; };
agenix = {
type = "github";
owner = "ryantm";
repo = "agenix";
ref = "main";
};
neuron = {
type = "github";
owner = "srid";
repo = "neuron";
ref = "master";
};
sops = { sops = {
type = "github"; type = "github";
owner = "Mic92"; owner = "Mic92";
repo = "sops-nix"; repo = "sops-nix";
ref = "master"; ref = "master";
inputs.nixpkgs.follows = "nixpkgs-stable";
}; };
}; };