Compare commits
2 commits
b2f610b2ce
...
42f0baa4ff
Author | SHA1 | Date | |
---|---|---|---|
42f0baa4ff | |||
6262428dc6 |
4 changed files with 9 additions and 3 deletions
|
@ -13,7 +13,10 @@ in
|
||||||
(mkSystem' {
|
(mkSystem' {
|
||||||
hostname = "marr";
|
hostname = "marr";
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
extraModules = [ inputs.agenix.nixosModules.default ];
|
extraModules = [
|
||||||
|
inputs.disko.nixosModules.disko
|
||||||
|
inputs.agenix.nixosModules.default
|
||||||
|
];
|
||||||
})
|
})
|
||||||
|
|
||||||
(mkSystem' {
|
(mkSystem' {
|
||||||
|
|
|
@ -10,7 +10,6 @@
|
||||||
imports = [
|
imports = [
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
./home.nix
|
./home.nix
|
||||||
./disko.nix
|
|
||||||
];
|
];
|
||||||
|
|
||||||
modules = {
|
modules = {
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
{ lib, ... }:
|
||||||
|
let
|
||||||
|
inherit (lib.my.disko) mkBoot mkSwap mkRoot;
|
||||||
|
in
|
||||||
{
|
{
|
||||||
disko.devices = {
|
disko.devices = {
|
||||||
disk.builtin = {
|
disk.builtin = {
|
||||||
|
|
|
@ -80,7 +80,7 @@ in
|
||||||
in
|
in
|
||||||
str: (sanitizeDerivationName (lib.toLower str));
|
str: (sanitizeDerivationName (lib.toLower str));
|
||||||
|
|
||||||
dikso = {
|
disko = {
|
||||||
mkBoot = size: {
|
mkBoot = size: {
|
||||||
size = size;
|
size = size;
|
||||||
type = "EF00";
|
type = "EF00";
|
||||||
|
|
Loading…
Add table
Reference in a new issue