Compare commits
2 commits
7606f9e051
...
c3c618a98b
Author | SHA1 | Date | |
---|---|---|---|
c3c618a98b | |||
5793c9096a |
2 changed files with 8 additions and 4 deletions
|
@ -1,12 +1,11 @@
|
||||||
# ---
|
# ---
|
||||||
# schema = "single-disk"
|
# schema = "single-disk"
|
||||||
# [placeholders]
|
# [placeholders]
|
||||||
# mainDisk = "/dev/disk/by-id/ata-TOSHIBA_MQ01ABD100_17B5PEO5T"
|
# mainDisk = "/dev/disk/by-id/ata-TOSHIBA_MQ01ABD100_17B5PEO5T"
|
||||||
# ---
|
# ---
|
||||||
# This file was automatically generated!
|
# This file was automatically generated!
|
||||||
# CHANGING this configuration requires wiping and reinstalling the machine
|
# CHANGING this configuration requires wiping and reinstalling the machine
|
||||||
{
|
{
|
||||||
|
|
||||||
boot.loader.grub.efiSupport = true;
|
boot.loader.grub.efiSupport = true;
|
||||||
boot.loader.grub.efiInstallAsRemovable = true;
|
boot.loader.grub.efiInstallAsRemovable = true;
|
||||||
boot.loader.grub.enable = true;
|
boot.loader.grub.enable = true;
|
||||||
|
@ -31,7 +30,7 @@
|
||||||
type = "filesystem";
|
type = "filesystem";
|
||||||
format = "vfat";
|
format = "vfat";
|
||||||
mountpoint = "/boot";
|
mountpoint = "/boot";
|
||||||
mountOptions = [ "umask=0077" ];
|
mountOptions = ["umask=0077"];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
root = {
|
root = {
|
||||||
|
|
|
@ -1,8 +1,13 @@
|
||||||
{...}: {
|
{pkgs, ...}: {
|
||||||
users.users.juan = {
|
users.users.juan = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
openssh.authorizedKeys.keys = [
|
openssh.authorizedKeys.keys = [
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFpkZoYCFS6jQyaLgRkG8WlOj8ybpwsJkCWTuKkGB5oA Juan Rey"
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFpkZoYCFS6jQyaLgRkG8WlOj8ybpwsJkCWTuKkGB5oA Juan Rey"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Requested by juan
|
||||||
|
environment.systemPackages = [pkgs.ecryptfs];
|
||||||
|
programs.ecryptfs.enable = true;
|
||||||
|
boot.kernelModules = ["ecryptfs"];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue