refactors
This commit is contained in:
parent
efc7698a77
commit
eb43deac44
6 changed files with 75 additions and 86 deletions
|
|
@ -2,14 +2,14 @@
|
|||
{
|
||||
users = {
|
||||
mutableUsers = lib.mkForce true;
|
||||
users.flori = {
|
||||
users.ava = {
|
||||
isNormalUser = true;
|
||||
openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIcXzWUeVwJN7iPxMT/1lhJySY4t6Z2/fH/GHVuzQFr6 cardno:32_241_564"
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINBnstd9HyyIjfXWfGymWDcRlK9nZuqgTIcueiqPUDaQ star@starforge"
|
||||
];
|
||||
hashedPasswordFile = config.age.secrets."initialFloriPassword.age".path;
|
||||
description = "Flori";
|
||||
description = "Flori Ava Star";
|
||||
extraGroups = [ "wheel" ];
|
||||
};
|
||||
};
|
||||
|
|
@ -1,7 +1,38 @@
|
|||
{ modulesPath, ... }:
|
||||
{
|
||||
boot.kernelParams = [ "ip=dhcp" ];
|
||||
boot.initrd.availableKernelModules = [
|
||||
"virtio_pci"
|
||||
"virtio_net"
|
||||
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
|
||||
|
||||
boot = {
|
||||
initrd.luks.devices."luks-ef228969-52cc-4238-b90f-9d97d625bba6".device =
|
||||
"/dev/disk/by-uuid/ef228969-52cc-4238-b90f-9d97d625bba6";
|
||||
kernelParams = [ "ip=dhcp" ];
|
||||
initrd.availableKernelModules = [
|
||||
"sr_mod"
|
||||
"ata_piix"
|
||||
"uhci_hcd"
|
||||
"virtio_pci"
|
||||
"virtio_net"
|
||||
"virtio_blk"
|
||||
];
|
||||
};
|
||||
|
||||
fileSystems = {
|
||||
"/" = {
|
||||
device = "/dev/disk/by-uuid/3c343e41-ca80-413f-a48c-af513bb28f5c";
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=@" ];
|
||||
};
|
||||
"/boot" = {
|
||||
device = "/dev/disk/by-uuid/9300-4D1C";
|
||||
fsType = "vfat";
|
||||
options = [
|
||||
"fmask=0077"
|
||||
"dmask=0077"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
swapDevices = [
|
||||
{ device = "/dev/disk/by-uuid/c0c9de6f-9990-4346-b774-5f315b5ea115"; }
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue