Compare commits

...

2 commits

Author SHA1 Message Date
c3c618a98b
format: apply alejandra
All checks were successful
Flake check / check (push) Successful in 26m37s
Update `flake.lock` / update_lockfile (push) Successful in 20m46s
2025-09-08 19:01:00 +02:00
5793c9096a
machine aresix: add ecryptfs (request by juan) 2025-09-08 19:00:41 +02:00
2 changed files with 8 additions and 4 deletions

View file

@ -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 = {

View file

@ -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"];
} }