hosts: cleanup

Signed-off-by: unexplrd <unexplrd@linerds.us>
This commit is contained in:
2025-06-17 17:31:39 +03:00
parent 4054e42e21
commit a1cac8803a
6 changed files with 34 additions and 54 deletions

View File

@ -1,9 +1,4 @@
{
inputs,
# pkgs,
lib,
...
}: {
{inputs, ...}: {
imports = with inputs; [
self.nixosModules.desktop
self.nixosModules.system
@ -14,23 +9,13 @@
];
networking = {
networkmanager.enable = true;
hostId = "bd1b5837";
hostName = "morphius";
};
environment.memoryAllocator.provider = "mimalloc";
system.stateVersion = "25.11";
time.timeZone = "Europe/Kyiv";
zramSwap.enable = true;
swapDevices = [
{
device = "/swap/swapfile";
size = 8 * 1024;
}
];
desktop.gnome.enable = true;
services.displayManager.autoLogin = {
@ -38,6 +23,13 @@
user = "user";
};
swapDevices = [
{
device = "/swap/swapfile";
size = 8 * 1024;
}
];
module = {
config = {
secureBoot = true;