added auto-cpufreq and blahaj plymouth

This commit is contained in:
chloe 2025-09-28 11:53:38 +02:00
parent fa43c46786
commit 768b4846b0
2 changed files with 49 additions and 31 deletions

View file

@ -64,9 +64,8 @@
url = "github:moonlight-mod/moonlight/develop"; # Add `/develop` to the flake URL to use nightly. url = "github:moonlight-mod/moonlight/develop"; # Add `/develop` to the flake URL to use nightly.
inputs.nixpkgs.follows = "nixpkgsUnstable"; inputs.nixpkgs.follows = "nixpkgsUnstable";
}; };
auto-cpufreq = {
matugen = { url = "github:AdnanHodzic/auto-cpufreq";
url = "github:/InioX/Matugen";
inputs.nixpkgs.follows = "nixpkgsUnstable"; inputs.nixpkgs.follows = "nixpkgsUnstable";
}; };
}; };
@ -87,6 +86,7 @@
musnix, musnix,
lix-module, lix-module,
moonlight, moonlight,
auto-cpufreq,
... ...
}@inputs: }@inputs:
let let
@ -154,8 +154,8 @@
specialArgs = specialArgs; specialArgs = specialArgs;
modules = [ modules = [
./hosts/buldak/configuration.nix ./hosts/buldak/configuration.nix
# lix-module.nixosModules.default
lix-module.nixosModules.default auto-cpufreq.nixosModules.default
catppuccin.nixosModules.catppuccin catppuccin.nixosModules.catppuccin
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
{ {
@ -170,7 +170,6 @@
home.packages = [ home.packages = [
inputs.miovim.packages.${system}.default inputs.miovim.packages.${system}.default
inputs.matugen.nixosModules.default
]; ];
}; };

View file

@ -11,7 +11,6 @@
{ {
imports = [ imports = [
# Include the results of the hardware scan.
./hardware-configuration.nix ./hardware-configuration.nix
../../shared/client/tailscale.nix ../../shared/client/tailscale.nix
../../shared/client/niri.nix ../../shared/client/niri.nix
@ -21,18 +20,40 @@
]; ];
# Bootloader. # Bootloader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true; boot = {
plymouth = {
enable = true;
theme = "rings";
themePackages = with pkgs; [
# By default we would install all themes
plymouth-blahaj-theme
];
};
# Enable "Silent boot"
consoleLogLevel = 3;
initrd.verbose = false;
kernelParams = [
"quiet"
"splash"
"boot.shell_on_fail"
"udev.log_priority=3"
"rd.systemd.show_status=auto"
];
# Hide the OS choice for bootloaders.
# It's still possible to open the bootloader list by pressing any key
# It will just not appear on screen unless a key is pressed
loader.timeout = 0;
loader.systemd-boot.enable = true;
loader.efi.canTouchEfiVariables = true;
};
boot.initrd.luks.devices."luks-d265e9b2-2ef5-445a-83f2-ec022e0eec7b".device = boot.initrd.luks.devices."luks-d265e9b2-2ef5-445a-83f2-ec022e0eec7b".device =
"/dev/disk/by-uuid/d265e9b2-2ef5-445a-83f2-ec022e0eec7b"; "/dev/disk/by-uuid/d265e9b2-2ef5-445a-83f2-ec022e0eec7b";
networking.hostName = "buldak"; # Define your hostname. networking.hostName = "buldak"; # Define your hostname.
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
# Configure network proxy if necessary
# networking.proxy.default = "http://user:password@proxy:port/";
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
# Enable networking # Enable networking
networking.networkmanager.enable = true; networking.networkmanager.enable = true;
@ -89,32 +110,30 @@
# List packages installed in system profile. To search, run: # List packages installed in system profile. To search, run:
# $ nix search wget # $ nix search wget
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
# vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default. poweralertd
# wget matugen
]; ];
nixpkgs.config.permittedInsecurePackages = [ nixpkgs.config.permittedInsecurePackages = [
"libsoup-2.74.3" "libsoup-2.74.3"
]; ];
# Some programs need SUID wrappers, can be configured further or are nix.package = pkgs.lixPackageSets.stable.lix;
# started in user sessions.
# programs.mtr.enable = true;
# programs.gnupg.agent = {
# enable = true;
# enableSSHSupport = true;
# };
# List services that you want to enable: # laptop stuff
services.thermald.enable = true;
# Enable the OpenSSH daemon. programs.auto-cpufreq.enable = true;
# services.openssh.enable = true; programs.auto-cpufreq.settings = {
battery = {
# Open ports in the firewall. governor = "powersave";
# networking.firewall.allowedTCPPorts = [ ... ]; turbo = "auto";
# networking.firewall.allowedUDPPorts = [ ... ]; };
# Or disable the firewall altogether. charger = {
# networking.firewall.enable = false; governor = "performance";
turbo = "auto";
};
};
# This value determines the NixOS release from which the default # This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions # settings for stateful data, like file locations and database versions