triple boot

This commit is contained in:
2025-10-04 23:14:36 +03:00
parent 86f66b5734
commit c65ded42de
17 changed files with 159 additions and 97 deletions

26
modules/forceMainPC.nix Normal file
View File

@@ -0,0 +1,26 @@
{ config, pkgs, lib, ... }:
{
imports = [
./force.nix
];
# because i love cuda
nixpkgs.config.cudaSupport = lib.warn "you're going to fucking hell if you aren't using a binary cache" true;
services.desktopManager.plasma6.enable = lib.mkDefault false;
environment.systemPackages = with pkgs; [
kdePackages.kclock
kdePackages.kcolorchooser
kdePackages.ksystemlog
# kdePackages.sddm-kcm
hardinfo2
vlc
wayland-utils
wl-clipboard
];
}

View File

@@ -34,6 +34,7 @@
efiSupport = true;
device = "nodev";
efiInstallAsRemovable = true;
# will kill pc if triplebooting w*ndows, nixos and cachyos
useOSProber = true;
gfxmodeEfi = "1920x1080";
};

View File

@@ -14,15 +14,18 @@
"https://hyprland.cachix.org"
"https://ghostty.cachix.org"
"https://wrangler.cachix.org"
"https://nix-community.cachix.org"
];
trusted-substituters = [
"https://hyprland.cachix.org"
"https://ghostty.cachix.org"
"https://nix-community.cachix.org"
];
trusted-public-keys = [
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
"ghostty.cachix.org-1:QB389yTa6gTyneehvqG58y0WnHjQOqgnA+wBnpWWxns="
"wrangler.cachix.org-1:N/FIcG2qBQcolSpklb2IMDbsfjZKWg+ctxx0mSMXdSs="
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
];
};

View File

@@ -18,7 +18,8 @@
theme = "robbyrussell";
};
shellAliases = {
nixrebuild = "sudo nixos-rebuild switch --flake .#default --impure --cores 4 -L --upgrade";
# ultimate cpu killer 3000
nixrebuild = "sudo nixos-rebuild switch --flake .#default --impure --cores 20 -L --upgrade";
dangerous-nixrebuild-server = "sudo nixos-rebuild switch --flake .#server --impure --cores 4 -L --upgrade";
neofetch = "fastfetch";
};