revive laptop

This commit is contained in:
atagen 2025-08-20 17:04:47 +10:00
parent 5003fc7953
commit 4250d3a668
12 changed files with 159 additions and 448 deletions

View file

@ -1,4 +1,4 @@
{ scope, ... }:
{scope, ...}:
scope "boot" {
kernelParams = [
"mitigations=off"
@ -15,11 +15,15 @@ scope "boot" {
"sd_mod"
"rtsx_pci_sdmmc"
];
initrd.kernelModules = [ "dm-snapshot" ];
initrd.kernelModules = ["dm-snapshot"];
kernelModules = [
"iwlwifi"
"kvm-intel"
];
loader.systemd-boot.configurationLimit = 2;
loader.systemd-boot = {
enable = true;
consoleMode = "max";
configurationLimit = 2;
};
loader.efi.canTouchEfiVariables = true;
}

View file

@ -1,5 +1,36 @@
{ scope, ... }:
{ scope, pkgs, config, ...}:
scope "boot" {
loader.limine = {
enable = true;
style =
let
pal = config.rice.palette.shortHex;
in
{
wallpapers = [ config.rice.bg.src ];
interface = {
brandingColor = 1;
branding = "welcome to quiver";
};
graphicalTerminal =
let
getPal = p: builtins.attrValues p |> builtins.concatStringsSep ";";
in
{
palette = getPal pal.normal;
brightPalette = getPal pal.bright;
marginGradient = 0;
margin = 256;
foreground = pal.util.fg;
background = "20" + pal.util.bg;
brightForeground = pal.bright.yellow;
brightBackground = pal.util.bg;
};
backdrop = pal.util.bg;
};
maxGenerations = 5;
};
initrd.availableKernelModules = [
"xhci_pci"
"ahci"

7
hosts/quiver/cisco.nix Normal file
View file

@ -0,0 +1,7 @@
{ pkgs, ... }:
{
environment.systemPackages = [ pkgs.ciscoPacketTracer8 ];
nixpkgs.config.permittedInsecurePackages = [
"libxml2-2.13.8"
];
}