major refactor: begin work to switch to GNOME and preservation
ci / check-flake (push) Failing after 53s

This commit is contained in:
2026-10-30 22:38:22 -04:00
parent 4657eddf5f
commit 591e6ae996
27 changed files with 135 additions and 1260 deletions
-51
View File
@@ -8,50 +8,12 @@
imports = [
../shared/nixos-pc.nix
../../features/gnome.nix
../../features/flatpak.nix
../../features/keyd.nix
];
nixpkgs.overlays = [
inputs.cheatengine.overlays.default
];
networking.hostName = "nero";
services = {
xserver = {
videoDrivers = [ "nvidia" ];
};
flatpak = {
packages = [
{
appId = "com.discordapp.Discord";
origin = "flathub";
}
{
appId = "com.github.Matoking.protontricks";
origin = "flathub";
}
{
appId = "com.steamgriddb.SGDBoop";
origin = "flathub";
}
{
appId = "com.vysp3r.ProtonPlus";
origin = "flathub";
}
{
appId = "io.github.ryubing.Ryujinx";
origin = "flathub";
}
{
appId = "io.github.Amethyst.ModManager";
origin = "amethyst-mod-manager";
}
];
};
wivrn = {
enable = true;
openFirewall = true;
@@ -60,8 +22,6 @@
};
programs = {
gamemode.enable = true;
steam = {
enable = true;
remotePlay.openFirewall = true;
@@ -98,19 +58,8 @@
environment = {
systemPackages = with pkgs; [
mangohud
gamescope
gamescope-wsi
cheatengine
lsfg-vk
lsfg-vk-ui
qbittorrent
aseprite
inputs.scopebuddy.packages.${pkgs.stdenv.hostPlatform.system}.default
inputs.xivlauncher-rb.packages.${pkgs.stdenv.hostPlatform.system}.default
(callPackage ../../packages/aseprite-thumbnailer-kde/package.nix { })
];
};
}
+69
View File
@@ -0,0 +1,69 @@
{
fileSystems."/nix".neededForBoot = true;
disko.devices = {
nodev = {
"/" = {
fsType = "tmpfs";
mountOptions = [
"size=25%"
"mode=755"
];
};
};
disk.main = {
device = "/dev/nvme0n1";
type = "disk";
content = {
type = "gpt";
partitions = {
esp = {
name = "ESP";
size = "5G";
type = "EF00";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
};
};
root = {
name = "NIXOS";
size = "100%";
content = {
type = "btrfs";
extraArgs = [ "-f" ];
subvolumes = {
"/persist" = {
mountOptions = [
"subvol=persist"
"noatime"
];
mountpoint = "/persist";
};
"/nix" = {
mountOptions = [
"subvol=nix"
"noatime"
];
mountpoint = "/nix";
};
};
};
};
};
};
};
};
}
-3
View File
@@ -9,7 +9,6 @@
{
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
../shared/fs-layouts/single-disk-btrfs.nix
];
boot = {
@@ -49,10 +48,8 @@
hardware = {
bluetooth.enable = true;
cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
nvidia-container-toolkit.enable = true;
nvidia = {
package = config.boot.kernelPackages.nvidiaPackages.latest;
open = true;
modesetting.enable = true;
};
+23
View File
@@ -0,0 +1,23 @@
{
boot.tmp.cleanOnBoot = true;
preservation = {
enable = true;
preserveAt."/persist" = {
files = [
{
file = "/etc/machine-id";
inInitrd = true;
}
];
directories = [
"/var/lib/systemd/timers"
"/var/lib/nixos"
"/var/log"
"/var/lib/bluetooth"
"/tmp"
];
};
};
}