added plymouth.nix

This commit is contained in:
2025-06-09 22:37:29 +03:00
parent 790d749ff8
commit e9a2c270c5
7 changed files with 50 additions and 6 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
{ config, pkgs, ... }: { ... }:
{ {
nix.buildMachines = [ { nix.buildMachines = [ {
@@ -21,7 +21,7 @@
programs.ssh.extraConfig = '' programs.ssh.extraConfig = ''
Host builder Host builder
HostName 192.168.1.222 HostName 192.168.1.222
Port 9022 Port 22
StrictHostKeyChecking=accept-new StrictHostKeyChecking=accept-new
''; '';
} }
+1 -1
View File
@@ -47,11 +47,11 @@
./hosts/generic/zapret.nix ./hosts/generic/zapret.nix
./hosts/generic/virtualization.nix ./hosts/generic/virtualization.nix
./hosts/generic/unfree_allow.nix ./hosts/generic/unfree_allow.nix
./hosts/generic/plymouth.nix
./hosts/Aphelion/hardware-Aphelion.nix ./hosts/Aphelion/hardware-Aphelion.nix
./hosts/Aphelion/nvidia.nix ./hosts/Aphelion/nvidia.nix
./hosts/Aphelion/sunshine.nix ./hosts/Aphelion/sunshine.nix
./desktop/gnome.nix ./desktop/gnome.nix
./misc/disable_suspend.nix
./home/yaroslav/steam.nix ./home/yaroslav/steam.nix
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
{ {
+3 -1
View File
@@ -1,4 +1,4 @@
{ config, pkgs, lib, ... }: { pkgs, lib, ... }:
let let
fromGitHub = ref: repo: pkgs.vimUtils.buildVimPlugin { fromGitHub = ref: repo: pkgs.vimUtils.buildVimPlugin {
@@ -47,9 +47,11 @@ in
}; };
services.mpd-mpris.enable = true; services.mpd-mpris.enable = true;
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
"code"
"obsidian" "obsidian"
"yandex-music" "yandex-music"
"steam" "steam"
"vscode"
]; ];
home.packages = with pkgs; [ home.packages = with pkgs; [
mc mc
+7 -1
View File
@@ -1,14 +1,20 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
home.packages = with pkgs; [ home.packages = with pkgs; [
ayugram-desktop
ungoogled-chromium
firefox firefox
keepassxc keepassxc
libreoffice-qt6-fresh
obsidian
obs-studio
onlyoffice-desktopeditors
remmina remmina
prismlauncher prismlauncher
kdePackages.kcalc kdePackages.kcalc
obs-studio
nicotine-plus nicotine-plus
qbittorrent qbittorrent
vscode-fhs vscode-fhs
bottles
]; ];
} }
+1 -1
View File
@@ -20,7 +20,7 @@
#options = [ "subvol=@nixos" ]; #options = [ "subvol=@nixos" ];
device = "none"; device = "none";
fsType = "tmpfs"; fsType = "tmpfs";
options = [ "defaults" "size=1G" "mode=755" ]; options = [ "defaults" "size=8G" "mode=755" ];
}; };
fileSystems."/nix" = fileSystems."/nix" =
+6
View File
@@ -10,9 +10,15 @@
".local/share/AyuGramDesktop" ".local/share/AyuGramDesktop"
".local/share/PrismLauncher" ".local/share/PrismLauncher"
".local/share/Steam" ".local/share/Steam"
".local/share/bottles"
".local/share/backgrounds"
".config/dconf" ".config/dconf"
".config/Code"
".config/libreoffice"
".vscode"
".mozilla" ".mozilla"
".local/state" ".local/state"
".wine"
# XDG User directories # XDG User directories
"Downloads" "Downloads"
"Music" "Music"
+30
View File
@@ -0,0 +1,30 @@
{ pkgs, ... }: {
boot = {
plymouth = {
enable = true;
theme = "rings";
themePackages = with pkgs; [
# By default we would install all themes
(adi1090x-plymouth-themes.override {
selected_themes = [ "rings" ];
})
];
};
# 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
};
}