hosts/morphius: some changes

Signed-off-by: unexplrd <unexplrd@linerds.us>
This commit is contained in:
2025-05-27 22:16:49 +03:00
parent 7139cfb640
commit f0ecc5bdb9
3 changed files with 21 additions and 13 deletions

8
flake.lock generated
View File

@ -893,11 +893,11 @@
"mysecrets": {
"flake": false,
"locked": {
"lastModified": 1748354061,
"narHash": "sha256-2m/sZ+AskdRBQzQfiw7kjDFrBHeHIdyKW/pM7uMmSy4=",
"lastModified": 1748355101,
"narHash": "sha256-2UO6Sg7rEJZ21v1gNKc9MGTknjDW35iGPcL78VnaDnw=",
"ref": "refs/heads/main",
"rev": "7c65ced56404f49a8d69a051fac04e8789edb97c",
"revCount": 24,
"rev": "21808ec68bcbd97e0d942a1b09f90d0d1862ab77",
"revCount": 25,
"type": "git",
"url": "ssh://gitea@gitea.linerds.us/unexplrd/nix-secrets"
},

View File

@ -18,20 +18,24 @@
hostName = "morphius";
};
boot.loader.systemd-boot.enable = true;
boot.kernelModules = ["i915"];
environment.memoryAllocator.provider = "mimalloc";
system.stateVersion = "25.11";
time.timeZone = "Europe/Kyiv";
desktop.plasma.enable = true;
# services.greetd.settings.initial_session = {
# user = "user";
# command = "${pkgs.niri}/bin/niri-session";
# };
swapDevices = [
{
device = "/swap/swapfile";
size = 8 * 1024;
}
];
desktop.gnome.enable = true;
module = {
config = {
# laptop.homeRowMods = true;
secureBoot = true;
tpmDiskUnlock = true;
powerSave = true;
useIwd = true;
vaapi = "intel-media-driver";
@ -44,6 +48,4 @@
locale.ukrainian.enable = true;
opentabletdriver.enable = false;
qmk-vial.enable = true;
virtual.libvirt.enable = true;
}

View File

@ -61,6 +61,12 @@
"noatime"
];
};
"@swap" = {
mountpoint = "/swap";
mountOptions = [
"noatime"
];
};
};
};
};