working system on lilith-pad

This commit is contained in:
Lilith 2025-03-17 17:02:35 +01:00
parent d0cfc40985
commit 56ea69ea23
Signed by: lilith
GPG key ID: 8712A0F317C37175
8 changed files with 655 additions and 129 deletions

View file

@ -1,6 +1,8 @@
{lib, ...}: let
{ lib, ... }:
let
mkHostOverride = lib.mkOverride 75;
in {
in
{
system.stateVersion = "24.11";
desktop.enable = true;
@ -11,7 +13,7 @@ in {
home-manager.users."lilith".wayland.windowManager.hyprland.settings = {
monitor = mkHostOverride [
"eDP-1, 1920x1080, 0x0, 1"
", perferred, auto, 1"
", preferred, auto, 1"
];
};
}

View file

@ -5,8 +5,7 @@
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
[ (modulesPath + "/installer/scan/not-detected.nix") ];
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" "sdhci_pci" ];
boot.initrd.kernelModules = [ ];
@ -14,16 +13,54 @@
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/080fa116-424e-4079-a2a6-658a230e2721";
fsType = "ext4";
{ device = "tmpfs";
fsType = "tmpfs";
options = [
"defaults"
"size=100%"
"mode=755"
];
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/40E8-A12D";
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/3DFB-F4BF";
fsType = "vfat";
options = [ "umask=0077" ];
};
swapDevices = [ ];
fileSystems."/persist/data" =
{ device = "/dev/disk/by-uuid/41e9461b-557d-4f2f-a255-534205e58d13";
fsType = "btrfs";
neededForBoot = true;
options = [ "subvol=@data" "noatime" "compress=zstd" ];
};
fileSystems."/persist/cache" =
{ device = "/dev/disk/by-uuid/41e9461b-557d-4f2f-a255-534205e58d13";
fsType = "btrfs";
neededForBoot = true;
options = [ "subvol=@cache" "noatime" "compress=zstd" ];
};
fileSystems."/nix" =
{ device = "/dev/disk/by-uuid/41e9461b-557d-4f2f-a255-534205e58d13";
fsType = "btrfs";
neededForBoot = true;
options = [ "subvol=@nix" "noatime" "compress=zstd" ];
};
fileSystems."/swap" =
{ device = "/dev/disk/by-uuid/41e9461b-557d-4f2f-a255-534205e58d13";
fsType = "btrfs";
options = [ "subvol=@swap" "noatime" ];
};
swapDevices = [
{
device = "/swap/swapfile";
priority = 0;
}
];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's