config: include disko as part of the flake

This could be used for bootstrapping with nixos-anywhere tool
apparently.
This commit is contained in:
Gabriel Arazas 2023-06-30 12:55:40 +08:00
parent 33b8dfe9c6
commit 6c7939e7da
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC
2 changed files with 26 additions and 0 deletions

21
flake.lock generated
View File

@ -76,6 +76,26 @@
"type": "github" "type": "github"
} }
}, },
"disko": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1687968164,
"narHash": "sha256-L9jr2zCB6NIaBE3towusjGBigsnE2pMID8wBGkYbTS4=",
"owner": "nix-community",
"repo": "disko",
"rev": "8002e7cb899bc2a02a2ebfb7f999fcd7c18b92a1",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "disko",
"type": "github"
}
},
"dream2nix": { "dream2nix": {
"inputs": { "inputs": {
"all-cabal-json": [ "all-cabal-json": [
@ -956,6 +976,7 @@
"inputs": { "inputs": {
"deploy": "deploy", "deploy": "deploy",
"devshell": "devshell", "devshell": "devshell",
"disko": "disko",
"emacs-overlay": "emacs-overlay", "emacs-overlay": "emacs-overlay",
"flake-utils": "flake-utils_2", "flake-utils": "flake-utils_2",
"guix-overlay": "guix-overlay", "guix-overlay": "guix-overlay",

View File

@ -66,6 +66,10 @@
# Generating an entire flavored themes with Nix? # Generating an entire flavored themes with Nix?
nix-colors.url = "github:misterio77/nix-colors"; nix-colors.url = "github:misterio77/nix-colors";
# Removing the manual partitioning part with a little boogie.
disko.url = "github:nix-community/disko";
disko.inputs.nixpkgs.follows = "nixpkgs";
# Deploying stuff with Nix. This is becoming a monorepo for everything I # Deploying stuff with Nix. This is becoming a monorepo for everything I
# need and I'm liking it. # need and I'm liking it.
deploy.url = "github:serokell/deploy-rs"; deploy.url = "github:serokell/deploy-rs";
@ -143,6 +147,7 @@
inputs.nur.nixosModules.nur inputs.nur.nixosModules.nur
inputs.sops-nix.nixosModules.sops inputs.sops-nix.nixosModules.sops
inputs.guix-overlay.nixosModules.guix inputs.guix-overlay.nixosModules.guix
inputs.disko.nixosModules.disko
]; ];
# BOOOOOOOOOOOOO! Somebody give me a tomato! # BOOOOOOOOOOOOO! Somebody give me a tomato!