Compare commits

..

No commits in common. "c3c618a98b8cfe5b0bad8ae397db014ab0759876" and "7606f9e051cddce988f6745c3942836ac7ea7e73" have entirely different histories.

2 changed files with 4 additions and 8 deletions

View file

@ -1,11 +1,12 @@
# --- # ---
# 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;
@ -30,7 +31,7 @@
type = "filesystem"; type = "filesystem";
format = "vfat"; format = "vfat";
mountpoint = "/boot"; mountpoint = "/boot";
mountOptions = ["umask=0077"]; mountOptions = [ "umask=0077" ];
}; };
}; };
root = { root = {

View file

@ -1,13 +1,8 @@
{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"];
} }