This commit is contained in:
@@ -0,0 +1,57 @@
|
||||
{
|
||||
inputs,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
userName = "love";
|
||||
fullName = "Love";
|
||||
hostName = "Hermes";
|
||||
homeDir = "/home/${userName}";
|
||||
installDisk = "/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_115386992";
|
||||
in
|
||||
{
|
||||
_module.args = {
|
||||
inherit
|
||||
fullName
|
||||
homeDir
|
||||
hostName
|
||||
installDisk
|
||||
userName
|
||||
;
|
||||
};
|
||||
|
||||
imports = [
|
||||
inputs.mailserver.nixosModules.default
|
||||
./hardware-configuration.nix
|
||||
./disko.nix
|
||||
./mail.nix
|
||||
./roundcube.nix
|
||||
../../modules/base.nix
|
||||
../../modules/zfs-root.nix
|
||||
../../modules/desktop-hyprland.nix
|
||||
../../modules/bin-bash-wrapper.nix
|
||||
];
|
||||
|
||||
my.binBashWrapper.enable = true;
|
||||
|
||||
networking.hostName = hostName;
|
||||
networking.hostId = "8d49a097f2";
|
||||
|
||||
users.mutableUsers = true;
|
||||
users.users.${userName} = {
|
||||
isNormalUser = true;
|
||||
description = fullName;
|
||||
extraGroups = [ "wheel" ];
|
||||
shell = pkgs.bash;
|
||||
};
|
||||
|
||||
zramSwap = {
|
||||
enable = true;
|
||||
memoryPercent = 75;
|
||||
algorithm = "zstd";
|
||||
};
|
||||
|
||||
system.stateVersion = "25.05";
|
||||
}
|
||||
Reference in New Issue
Block a user