Upgrade to NixOS 23.05 and SSD boot
This commit is contained in:
@@ -12,24 +12,20 @@ with pkgs;
|
||||
inputs.agenix.packages.aarch64-linux.default
|
||||
];
|
||||
|
||||
# Add a swap file
|
||||
swapDevices = [{
|
||||
device = "/swapfile";
|
||||
size = 4096;
|
||||
}];
|
||||
|
||||
# Enable zswap
|
||||
zramSwap.enable = true;
|
||||
|
||||
# Configure basic SSH access
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
permitRootLogin = "yes";
|
||||
passwordAuthentication = false;
|
||||
settings = {
|
||||
PermitRootLogin = "yes";
|
||||
PasswordAuthentication = false;
|
||||
};
|
||||
};
|
||||
|
||||
# Cleanup tmp on startup
|
||||
boot.cleanTmpDir = true;
|
||||
boot.tmp.cleanOnBoot = true;
|
||||
|
||||
# Create coolneng user
|
||||
users.users.coolneng = {
|
||||
|
||||
Reference in New Issue
Block a user