mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
nix: use disko as a module
This commit is contained in:
parent
5be02dc55f
commit
2fedc3d1b5
4 changed files with 29 additions and 5 deletions
|
|
@ -174,6 +174,8 @@ in
|
|||
system = "x86_64-linux";
|
||||
modules = [
|
||||
self.nixosModules.i_am_builder
|
||||
inputs.disko.nixosModules.default
|
||||
self.diskoConfigurations.carbon
|
||||
{
|
||||
home-manager.users.leana = {
|
||||
programs.neovim.extraLangServers.enable = true;
|
||||
|
|
@ -210,7 +212,7 @@ in
|
|||
imports = [ "${toString modulesPath}/installer/cd-dvd/installation-cd-minimal.nix" ];
|
||||
isoImage.squashfsCompression = "zstd -Xcompression-level 3";
|
||||
environment.systemPackages = [
|
||||
pkgs.disko
|
||||
inputs.disko.packages.${system}.disko
|
||||
pkgs.fish
|
||||
pkgs.git
|
||||
pkgs.pastebinit # for sharing cli output & debugging
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
disk = {
|
||||
main = {
|
||||
type = "disk";
|
||||
device = throw "Override me or change me";
|
||||
device = "/dev/sda";
|
||||
content = {
|
||||
type = "gpt";
|
||||
partitions = {
|
||||
|
|
@ -26,9 +26,6 @@
|
|||
name = "crypted";
|
||||
extraOpenArgs = [ ];
|
||||
settings = {
|
||||
# # if you want to use the key for interactive login be sure there is no trailing newline
|
||||
# # for example use `echo -n "password" > /tmp/secret.key`
|
||||
# keyFile = "/tmp/secret.key";
|
||||
askPassword = true;
|
||||
allowDiscards = true;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue