This commit is contained in:
TheWanderingCrow 2024-12-29 20:16:00 -05:00
parent 58dea90ea9
commit 663aeffed8
9 changed files with 92 additions and 37 deletions

View file

@ -8,5 +8,6 @@
./software
./security
./services
./ricing
];
}

View file

@ -1,8 +1,27 @@
{
config.boot.loader = {
systemd-boot.enable = true;
efi = {
canTouchEfiVariables = true;
config = {
boot = {
loader = {
systemd-boot.enable = true;
efi = {
canTouchEfiVariables = true;
};
# Can press any key to get the generation list, otherwise just load the first one cause it's probably what you want
timeout = 0;
};
# Silent Booting
consoleLogLevel = 0;
initrd.verbose = false;
kernelParams = [
"quiet"
"splash"
"boot.shell_on_fail"
"loglevel=3"
"rd.systemd.show_status=false"
"rd.udev.log_level=3"
"udev.log_priority=3"
];
};
};
}

View file

@ -47,7 +47,8 @@
};
ricing = {
basic.enable = lib.mkEnableOption "enable basic ricing";
basic.enable = lib.mkEnableOption "enable basic ricing";
wasteland.enable = lib.mkEnableOptin "post-collapse themed rice";
};
};
@ -96,7 +97,8 @@
};
ricing = {
basic.enable = lib.mkDefault true;
basic.enable = lib.mkDefault true;
wasteland.enable = lib.mkDefault false;
};
};
}

View file

@ -0,0 +1,5 @@
{
imports = [
./plymouth.nix
];
}

View file

@ -0,0 +1,32 @@
{
config,
lib,
pkgs,
...
}: let
basic = {
theme = "breeze";
logo = "${pkgs.nixos-icons}/share/icons/hicolor/48x48/apps/nix-snowflake-white.png";
font = "${pkgs.dejavu_fonts.minimal}/share/fonts/truetype/DejaVuSans.ttf";
extraConfig = "";
};
in {
boot.plymouth = {
theme =
if config.ricing.basic.enable
then basic.theme
else null;
logo =
if config.ricing.basic.enable
then basic.logo
else null;
font =
if config.ricing.basic.enable
then basic.font
else null;
extraConfig =
if config.ricing.basic.enable
then basic.extraConfig
else null;
};
}

View file

@ -1,8 +1,7 @@
{
programs.git = {
enable = true;
userName = "TheWanderingCrow";
userEmail = "contact@wanderingcrow.net";
};
programs.git = {
enable = true;
userName = "TheWanderingCrow";
userEmail = "contact@wanderingcrow.net";
};
}

View file

@ -1,17 +1,17 @@
{
programs.tmux = {
enable = true;
keyMode = "vi";
extraConfig = ''
bind | split-window -h
bind - split-window -v
unbind '"'
unbind %
programs.tmux = {
enable = true;
keyMode = "vi";
extraConfig = ''
bind | split-window -h
bind - split-window -v
unbind '"'
unbind %
bind -n M-Left select-pane -L
bind -n M-Right select-pane -R
bind -n M-Up select-pane -U
bind -n M-Down select-pane -D
'';
};
bind -n M-Left select-pane -L
bind -n M-Right select-pane -R
bind -n M-Up select-pane -U
bind -n M-Down select-pane -D
'';
};
}

View file

@ -223,7 +223,13 @@
in {
programs.waybar = {
enable = true;
settings = if osConfig.ricing.basic.enable then og_waybar.jsonc else {};
style = if osConfig.ricing.basic.enable then og_waybar.style else "";
settings =
if osConfig.ricing.basic.enable
then og_waybar.jsonc
else {};
style =
if osConfig.ricing.basic.enable
then og_waybar.style
else "";
};
}

View file

@ -1,9 +0,0 @@
{
lib,
config,
...
}: {
imports = [
./user.nix
];
}