add liza
This commit is contained in:
parent
18631348e4
commit
d75b47a6ea
@ -24,6 +24,7 @@
|
||||
"nanachi" = mkSystem "x86_64-linux" ./machines/nanachi/configuration.nix;
|
||||
"riko" = mkSystem "x86_64-linux" ./machines/riko/configuration.nix;
|
||||
"neetdev" = mkSystem "x86_64-linux" ./machines/neet.dev/configuration.nix;
|
||||
"liza" = mkSystem "x86_64-linux" ./machines/liza/configuration.nix;
|
||||
"s0" = mkSystem "aarch64-linux" ./machines/storage/s0/configuration.nix;
|
||||
"n1" = mkSystem "aarch64-linux" ./machines/compute/n1/configuration.nix;
|
||||
};
|
||||
|
29
machines/liza/configuration.nix
Normal file
29
machines/liza/configuration.nix
Normal file
@ -0,0 +1,29 @@
|
||||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
imports =[
|
||||
./hardware-configuration.nix
|
||||
../../common/common.nix
|
||||
];
|
||||
|
||||
# fjhduiepwmuenuev2d2i22py6idc5h2k72ylh3fbrrxr7an6dw6ogfid.onion
|
||||
|
||||
nix.flakes.enable = true;
|
||||
|
||||
bios = {
|
||||
enable = true;
|
||||
device = "/dev/sda";
|
||||
};
|
||||
|
||||
luks = {
|
||||
enable = true;
|
||||
device.path = "/dev/raid0/raid0lv";
|
||||
};
|
||||
|
||||
networking.hostName = "liza";
|
||||
|
||||
networking.interfaces.enp1s0.useDHCP = true;
|
||||
|
||||
security.acme.acceptTerms = true;
|
||||
security.acme.email = "zuckerberg@neet.dev";
|
||||
}
|
37
machines/liza/hardware-configuration.nix
Normal file
37
machines/liza/hardware-configuration.nix
Normal file
@ -0,0 +1,37 @@
|
||||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||
# and may be overwritten by future invocations. Please make changes
|
||||
# to /etc/nixos/configuration.nix instead.
|
||||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[ (modulesPath + "/profiles/qemu-guest.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "ata_piix" "virtio_pci" "floppy" "sr_mod" "virtio_blk" ];
|
||||
boot.initrd.kernelModules = [ "dm-snapshot" "dm-raid" ];
|
||||
boot.kernelModules = [ "dm-raid" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/d929b5fc-b9f3-435b-b21f-d3fbbcb1577b";
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=root" ];
|
||||
};
|
||||
|
||||
fileSystems."/home" =
|
||||
{ device = "/dev/disk/by-uuid/d929b5fc-b9f3-435b-b21f-d3fbbcb1577b";
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=home" ];
|
||||
};
|
||||
|
||||
fileSystems."/boot" =
|
||||
{ device = "/dev/disk/by-uuid/dd516b94-d090-4991-a476-3a9b6127dd6f";
|
||||
fsType = "ext3";
|
||||
};
|
||||
|
||||
swapDevices =
|
||||
[ { device = "/dev/disk/by-uuid/23294145-e00d-487f-9746-3c2972d8d899"; }
|
||||
];
|
||||
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user