chore: preparing for new install.
This commit is contained in:
parent
1fcf0e73c0
commit
a4ffe9d043
3 changed files with 50 additions and 50 deletions
|
|
@ -16,16 +16,16 @@
|
|||
boot.initrd.systemd.enable = true;
|
||||
|
||||
# To explicitly disable systemd-boot, lanzaboote takes care of that.
|
||||
boot.loader.systemd-boot.enable = lib.mkForce false;
|
||||
boot.loader.systemd-boot.enable = lib.mkForce true;
|
||||
|
||||
# Bootloader.
|
||||
boot.lanzaboote = {
|
||||
enable = true;
|
||||
pkiBundle = "/var/lib/sbctl";
|
||||
autoEnrollKeys = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
# boot.lanzaboote = {
|
||||
# enable = true;
|
||||
# pkiBundle = "/var/lib/sbctl";
|
||||
# autoEnrollKeys = {
|
||||
# enable = true;
|
||||
# };
|
||||
# };
|
||||
|
||||
# Enable aarch64 emulation
|
||||
boot.binfmt.emulatedSystems = ["aarch64-linux"];
|
||||
|
|
@ -33,7 +33,7 @@
|
|||
# Disable intel watchdog for good
|
||||
boot.blacklistedKernelModules = ["intel_pmc_bxt" "iTCO_vendor_support" "iTCO_wdt"];
|
||||
|
||||
# Use the xanmod kernel
|
||||
# Use the cachyos kernel
|
||||
boot.kernelPackages = pkgs.cachyosKernels.linuxPackages-cachyos-latest-lto-x86_64-v3;
|
||||
|
||||
# Setup userspace schedulers
|
||||
|
|
@ -145,38 +145,38 @@
|
|||
users.users.crony = {
|
||||
isNormalUser = true;
|
||||
description = "Crony";
|
||||
hashedPasswordFile = "${config.age.secrets.crony-passwd.path}";
|
||||
# hashedPasswordFile = "${config.age.secrets.crony-passwd.path}";
|
||||
extraGroups = ["networkmanager" "wheel" "video" "input" "audio" "gamemode" "seat" "pipewire"];
|
||||
};
|
||||
|
||||
users.users.root.hashedPasswordFile = "${config.age.secrets.root-passwd.path}";
|
||||
# users.users.root.hashedPasswordFile = "${config.age.secrets.root-passwd.path}";
|
||||
|
||||
users.mutableUsers = false;
|
||||
# users.mutableUsers = false;
|
||||
|
||||
# Enable my flake specific settings
|
||||
crony.gaming.enable = true;
|
||||
crony.additional-hardware.enable = true;
|
||||
crony.hyprland-nixos.enable = true;
|
||||
crony.nfs-share.enable = true;
|
||||
crony.sddm.enable = true;
|
||||
crony.wireguard.enable = true;
|
||||
crony.secrets.enable = true;
|
||||
crony.boot.enable = true;
|
||||
crony.ollama.enable = true;
|
||||
crony.sunshine.enable = true;
|
||||
crony.bluetooth.enable = true;
|
||||
crony.localsend.enable = true;
|
||||
crony.flatpak.enable = true;
|
||||
crony.qemu.enable = true;
|
||||
crony.pc-services.enable = true;
|
||||
crony.pipewire.enable = true;
|
||||
# crony.gaming.enable = true;
|
||||
# crony.additional-hardware.enable = true;
|
||||
# crony.hyprland-nixos.enable = true;
|
||||
# crony.nfs-share.enable = true;
|
||||
# crony.sddm.enable = true;
|
||||
# crony.wireguard.enable = true;
|
||||
# crony.secrets.enable = true;
|
||||
# crony.boot.enable = true;
|
||||
# crony.ollama.enable = true;
|
||||
# crony.sunshine.enable = true;
|
||||
# crony.bluetooth.enable = true;
|
||||
# crony.localsend.enable = true;
|
||||
# crony.flatpak.enable = true;
|
||||
# crony.qemu.enable = true;
|
||||
# crony.pc-services.enable = true;
|
||||
# crony.pipewire.enable = true;
|
||||
|
||||
# Mount additional drive for games
|
||||
fileSystems."/mnt/games" = {
|
||||
device = "/dev/disk/by-uuid/f747508e-6b2f-474a-88cf-759a221cff46";
|
||||
fsType = "btrfs";
|
||||
options = [
|
||||
"compress=zstd"
|
||||
"compress-force=zstd:3"
|
||||
"noatime"
|
||||
];
|
||||
};
|
||||
|
|
@ -186,7 +186,7 @@
|
|||
device = "/dev/disk/by-uuid/3f2ab7ec-5b78-4686-b909-77fa6f4241b5";
|
||||
fsType = "btrfs";
|
||||
options = [
|
||||
"compress=zstd"
|
||||
"compress-force=zstd:3"
|
||||
"noatime"
|
||||
];
|
||||
};
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
type = "gpt";
|
||||
partitions = {
|
||||
ESP = {
|
||||
size = "512M";
|
||||
size = "1G";
|
||||
type = "EF00";
|
||||
content = {
|
||||
type = "filesystem";
|
||||
|
|
@ -30,21 +30,21 @@
|
|||
"@" = {
|
||||
mountpoint = "/";
|
||||
mountOptions = [
|
||||
"compress=zstd"
|
||||
"compress-force=zstd:1"
|
||||
"noatime"
|
||||
];
|
||||
};
|
||||
"@home" = {
|
||||
mountpoint = "/home";
|
||||
mountOptions = [
|
||||
"compress=zstd"
|
||||
"compress-force=zstd:1"
|
||||
"noatime"
|
||||
];
|
||||
};
|
||||
"@nix" = {
|
||||
mountpoint = "/nix";
|
||||
mountOptions = [
|
||||
"compress=zstd"
|
||||
"compress-force=zstd:1"
|
||||
"noatime"
|
||||
];
|
||||
};
|
||||
|
|
|
|||
|
|
@ -38,22 +38,22 @@
|
|||
};
|
||||
|
||||
# Enable crony flake specific settings
|
||||
crony.mangohud.enable = true;
|
||||
crony.gaming.enable = true;
|
||||
crony.flatpak.enable = true;
|
||||
crony.wayland.enable = true;
|
||||
crony.hyprland.enable = true;
|
||||
crony.neovim.enable = true;
|
||||
crony.mpv.enable = true;
|
||||
crony.desktop.enable = true;
|
||||
crony.shell-additions.enable = true;
|
||||
crony.home-secrets.enable = true;
|
||||
crony.restic.enable = true;
|
||||
crony.emulators.enable = true;
|
||||
crony.zen-browser.enable = true;
|
||||
crony.lnxlink.enable = true;
|
||||
crony.yazi.enable = true;
|
||||
crony.obs-studio.enable = true;
|
||||
# crony.mangohud.enable = true;
|
||||
# crony.gaming.enable = true;
|
||||
# crony.flatpak.enable = true;
|
||||
# crony.wayland.enable = true;
|
||||
# crony.hyprland.enable = true;
|
||||
# crony.neovim.enable = true;
|
||||
# crony.mpv.enable = true;
|
||||
# crony.desktop.enable = true;
|
||||
# crony.shell-additions.enable = true;
|
||||
# crony.home-secrets.enable = true;
|
||||
# crony.restic.enable = true;
|
||||
# crony.emulators.enable = true;
|
||||
# crony.zen-browser.enable = true;
|
||||
# crony.lnxlink.enable = true;
|
||||
# crony.yazi.enable = true;
|
||||
# crony.obs-studio.enable = true;
|
||||
|
||||
# DO NOT CHANGE ALSO
|
||||
home.stateVersion = "24.11"; # Please read the comment before changing.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue