fs/disko: disks -> disk
This commit is contained in:
parent
1c4b5c4174
commit
903b863980
|
@ -14,7 +14,7 @@
|
|||
../../2configs/tools/core.nix
|
||||
# ../../2configs/tools/all.nix
|
||||
|
||||
((import ../../2configs/fs/disko/single-disk-encrypted-zfs.nix ) { disks = ["/dev/sda" ]; hostId = "f8b8e0a2"; })
|
||||
((import ../../2configs/fs/disko/single-disk-encrypted-zfs.nix ) { disk = "/dev/sda"; hostId = "f8b8e0a2"; })
|
||||
# hardware specifics are in here
|
||||
../../2configs/hw/bluetooth.nix
|
||||
../../2configs/hw/network-manager.nix
|
||||
|
|
|
@ -37,11 +37,14 @@
|
|||
../../2configs/editor/neovim
|
||||
../../2configs/tools/all.nix
|
||||
{ programs.adb.enable = true; }
|
||||
{
|
||||
services.openssh.hostKeys = [
|
||||
{ bits = 4096; path = (toString <secrets/ssh_host_rsa_key>); type = "rsa";}
|
||||
];
|
||||
}
|
||||
|
||||
# secrets: now deployed once at host provisioning
|
||||
{ state = [ "/etc/ssh/ssh_host_rsa_key" ]; }
|
||||
#{
|
||||
# services.openssh.hostKeys = [
|
||||
# { bits = 4096; path = (toString <secrets/ssh_host_rsa_key>); type = "rsa";}
|
||||
# ];
|
||||
#}
|
||||
#{
|
||||
# imports = [
|
||||
# ../../2configs/bureautomation/rhasspy.nix
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
services.xserver.videoDrivers = [ "amdgpu" ];
|
||||
boot.initrd.kernelModules = [ "amdgpu" ];
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
imports = [
|
||||
./input.nix
|
||||
|
||||
((import ../../../2configs/fs/disko/single-disk-encrypted-zfs.nix ) { disks = ["/dev/nvme0n1" ]; hostId = "f8b8e0a3"; })
|
||||
((import ../../../2configs/fs/disko/single-disk-encrypted-zfs.nix ) { disks ="/dev/nvme0n1"; hostId = "f8b8e0a3"; })
|
||||
./battery.nix
|
||||
./amdgpu.nix
|
||||
../../../2configs/hw/bluetooth.nix
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
{ disks ? [ "/dev/nvme0n1" ], hostId, ... }:
|
||||
let
|
||||
disk = builtins.elemAt disks 0;
|
||||
in {
|
||||
{ disk ? "/dev/nvme0n1", hostId, ... }:
|
||||
{
|
||||
boot.zfs.requestEncryptionCredentials = true;
|
||||
boot.supportedFilesystems = [ "zfs" ];
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
|
Loading…
Reference in a new issue