mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-23 17:35:38 +02:00
flake: add disko
This commit is contained in:
parent
91282ce2d0
commit
2d29a71ce2
10
README.md
10
README.md
|
@ -3,10 +3,12 @@
|
|||
This repository holds my NixOS configuration.
|
||||
It is fully reproducible, flakes based, and position-independent, meaning there is no moving around of `configuration.nix`.
|
||||
|
||||
Deployment is done using [deploy-rs](https://github.com/serokell/deploy-rs), see [usage](#usage).
|
||||
Secret are managed using [sops-nix](https://github.com/Mic92/sops-nix).
|
||||
For formatting [pre-commit-hooks](https://github.com/cachix/pre-commit-hooks.nix) is used.
|
||||
For image generation [nixos-generators](https://github.com/nix-community/nixos-generators) is used.
|
||||
used flakes:
|
||||
- image generation: [nixos-generators](https://github.com/nix-community/nixos-generators)
|
||||
- disk formatting: [disko](https://github.com/nix-community/disko)
|
||||
- secrets: [sops-nix](https://github.com/Mic92/sops-nix)
|
||||
- deployment: [deploy-rs](https://github.com/serokell/deploy-rs), see [usage](#usage)
|
||||
- formatting: [pre-commit-hooks](https://github.com/cachix/pre-commit-hooks.nix)
|
||||
|
||||
## structure
|
||||
|
||||
|
|
21
flake.lock
21
flake.lock
|
@ -20,6 +20,26 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"disko": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1678912468,
|
||||
"narHash": "sha256-oUo6ZrsuqymuMLLvGfgnQ464OMKnUONv+ryea07iGrE=",
|
||||
"owner": "nix-community",
|
||||
"repo": "disko",
|
||||
"rev": "e8650fc36bf9d2acb411ba0047f863b8e481e3bb",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-community",
|
||||
"repo": "disko",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"flake-compat": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
|
@ -457,6 +477,7 @@
|
|||
"root": {
|
||||
"inputs": {
|
||||
"deploy-rs": "deploy-rs",
|
||||
"disko": "disko",
|
||||
"flake-parts": "flake-parts",
|
||||
"nix": "nix",
|
||||
"nixos-generators": "nixos-generators",
|
||||
|
|
|
@ -26,6 +26,11 @@
|
|||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
disko = {
|
||||
url = "github:nix-community/disko";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
# own flakes
|
||||
stunkymonkey = {
|
||||
url = "github:Stunkymonkey/stunkymonkey.de";
|
||||
|
@ -65,6 +70,7 @@
|
|||
nativeBuildInputs = [
|
||||
inputs'.sops-nix.packages.sops-import-keys-hook
|
||||
inputs'.deploy-rs.packages.deploy-rs
|
||||
inputs'.disko.packages.disko
|
||||
# formatters
|
||||
pkgs.shellcheck
|
||||
pkgs.nixpkgs-fmt
|
||||
|
|
Loading…
Reference in a new issue