changes
This commit is contained in:
parent
567de5ca7d
commit
81cca7b7bd
12 changed files with 104 additions and 54 deletions
|
|
@ -17,28 +17,33 @@
|
|||
boot = {
|
||||
plymouth = {
|
||||
enable = true;
|
||||
logo = "${pkgs.nixos-icons}/share/icons/hicolor/64x64/apps/nix-snowflake-white.png";
|
||||
};
|
||||
|
||||
loader = {
|
||||
timeout = 3;
|
||||
limine = {
|
||||
systemd-boot = {
|
||||
enable = true;
|
||||
maxGenerations = 3;
|
||||
extraConfig = ''
|
||||
timeout: 3
|
||||
'';
|
||||
style = {
|
||||
wallpapers = [ ];
|
||||
backdrop = "#1e1e2e";
|
||||
interface = {
|
||||
branding = "kova's nixos!";
|
||||
brandingColor = 5;
|
||||
};
|
||||
};
|
||||
};
|
||||
efi = {
|
||||
canTouchEfiVariables = false;
|
||||
consoleMode = lib.mkForce "auto";
|
||||
configurationLimit = 10;
|
||||
};
|
||||
# limine = {
|
||||
# enable = true;
|
||||
# maxGenerations = 10;
|
||||
# extraConfig = ''
|
||||
# timeout: 3
|
||||
# '';
|
||||
# style = {
|
||||
# wallpapers = [ ];
|
||||
# wallpaperStyle = "centered";
|
||||
# backdrop = "#1e1e2e";
|
||||
# interface = {
|
||||
# branding = "kova's nixos!";
|
||||
# brandingColor = 5;
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
# efi.canTouchEfiVariables = true;
|
||||
};
|
||||
kernelParams = [
|
||||
"quiet"
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@
|
|||
ddcutil
|
||||
mangohud
|
||||
(bottles.override { removeWarningPopup = true; })
|
||||
openrgb
|
||||
];
|
||||
|
||||
# enable ddcutil
|
||||
|
|
@ -22,7 +23,9 @@
|
|||
'';
|
||||
hardware.i2c.enable = true;
|
||||
|
||||
boot.loader.systemd-boot.consoleMode = "max";
|
||||
# enable rgb support
|
||||
services.hardware.openrgb.enable = true;
|
||||
|
||||
# boot.kernelPackages = pkgs.linuxPackages;
|
||||
|
||||
# let's use the CachyOS kernel instead!
|
||||
|
|
|
|||
|
|
@ -1,25 +1,31 @@
|
|||
{
|
||||
pkgs,
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
let
|
||||
asahi-artwork = pkgs.fetchFromGitHub {
|
||||
owner = "AsahiLinux";
|
||||
repo = "artwork";
|
||||
rev = "80d14f8b6f485b310e305a84b4b806361518ddd1";
|
||||
hash = "sha256-1r7gPFsn3GmKO4YsixsK7eyQWfVjsWnuOEtSCQequn8=";
|
||||
};
|
||||
in
|
||||
{
|
||||
boot.kernelParams = [ "appledrm.show_notch=1" ];
|
||||
boot = {
|
||||
kernelParams = [ "appledrm.show_notch=1" ];
|
||||
m1n1CustomLogo = "${asahi-artwork}/logos/png_256/AsahiLinux_logomark.png";
|
||||
plymouth.logo = lib.mkForce "${asahi-artwork}/logos/png_64/AsahiLinux_logomark.png";
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
ddcutil
|
||||
programs.dconf.profiles.gdm.databases = [
|
||||
{
|
||||
settings."org/gnome/login-screen".logo =
|
||||
"${asahi-artwork}/logos/svg/AsahiLinux_logo_horizontal_darkbg.svg";
|
||||
}
|
||||
];
|
||||
|
||||
boot.extraModulePackages = [ config.boot.kernelPackages.ddcci-driver ];
|
||||
boot.kernelModules = [
|
||||
"i2c-dev"
|
||||
"ddcci_backlight"
|
||||
];
|
||||
services.udev.extraRules = ''
|
||||
KERNEL=="i2c-[0-9]*", GROUP="i2c", MODE="0660"
|
||||
'';
|
||||
hardware.i2c.enable = true;
|
||||
|
||||
virtualisation.docker = {
|
||||
enable = true;
|
||||
# Use the rootless mode - run Docker daemon as non-root user
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue