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