Compare commits
2 commits
42f0baa4ff
...
b2f610b2ce
Author | SHA1 | Date | |
---|---|---|---|
b2f610b2ce | |||
330823cd68 |
4 changed files with 3 additions and 9 deletions
|
@ -13,10 +13,7 @@ in
|
||||||
(mkSystem' {
|
(mkSystem' {
|
||||||
hostname = "marr";
|
hostname = "marr";
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
extraModules = [
|
extraModules = [ inputs.agenix.nixosModules.default ];
|
||||||
inputs.disko.nixosModules.disko
|
|
||||||
inputs.agenix.nixosModules.default
|
|
||||||
];
|
|
||||||
})
|
})
|
||||||
|
|
||||||
(mkSystem' {
|
(mkSystem' {
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
imports = [
|
imports = [
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
./home.nix
|
./home.nix
|
||||||
|
./disko.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
modules = {
|
modules = {
|
||||||
|
|
|
@ -1,7 +1,3 @@
|
||||||
{ 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));
|
||||||
|
|
||||||
disko = {
|
dikso = {
|
||||||
mkBoot = size: {
|
mkBoot = size: {
|
||||||
size = size;
|
size = size;
|
||||||
type = "EF00";
|
type = "EF00";
|
||||||
|
|
Loading…
Add table
Reference in a new issue