Compare commits

..

2 commits

Author SHA1 Message Date
janis 1c7bb69361
plymouth on desktop 2025-09-03 19:32:08 +02:00
janis 212bfac81e
home manager stuff: ssh config, mpv/ranger/sxiv/feh 2025-09-03 19:31:43 +02:00
5 changed files with 70 additions and 32 deletions

View file

@ -92,8 +92,12 @@ in {
packages = with pkgs; [ packages = with pkgs; [
# Add your global packages here # Add your global packages here
mpv
sxiv
feh
duralumin duralumin
duralumin-keygen duralumin-keygen
ranger
neovim neovim
bottom bottom
git git

View file

@ -50,9 +50,10 @@
identityFile = "~/.ssh/id_ed25519_nirgendwo"; identityFile = "~/.ssh/id_ed25519_nirgendwo";
addKeysToAgent = "yes"; addKeysToAgent = "yes";
}; };
"github.com:janis-bhm" = { "github-janis-bhm" = {
host = "github.com:janis-bhm"; host = "github-janis-bhm";
hostname = "github.com"; hostname = "github.com";
user = "git";
identityFile = "~/.ssh/duralumin_janis-github"; identityFile = "~/.ssh/duralumin_janis-github";
addKeysToAgent = "yes"; addKeysToAgent = "yes";
}; };

View file

@ -43,29 +43,30 @@
valign = "center"; valign = "center";
}; };
# DATE label = [
label-date = { # DATE
monitor = ""; {
text = ''cmd[update:1000] echo "''$(${pkgs.coreutils}/bin/date +"%A, %B %d")"''; monitor = "";
color = "rgba(242, 243, 244, 0.75)"; text = ''cmd[update:1000] echo "''$(${pkgs.coreutils}/bin/date +"%A, %B %d")"'';
font_size = 22; color = "rgba(242, 243, 244, 0.75)";
font_family = "JetBrains Mono"; font_size = 22;
position = "0, 300"; font_family = "JetBrains Mono";
halign = "center"; position = "0, 300";
valign = "center"; halign = "center";
}; valign = "center";
}
# TIME # TIME
label-time = { {
monitor = ""; monitor = "";
text = ''cmd[update:1000] echo "''$(${pkgs.coreutils} +"%-I:%M")"''; text = ''cmd[update:1000] echo "''$(${pkgs.coreutils}/bin/date +"%-I:%M")"'';
color = "rgba(242, 243, 244, 0.75)"; color = "rgba(242, 243, 244, 0.75)";
font_size = 95; font_size = 95;
font_family = "JetBrains Mono Extrabold"; font_family = "JetBrains Mono Extrabold";
position = "0, 200"; position = "0, 200";
halign = "center"; halign = "center";
valign = "center"; valign = "center";
}; }
];
}; };
}; };

View file

@ -1,4 +1,4 @@
{lib, config, modulesPath, ...}: { {lib, pkgs, config, modulesPath, ...}: {
imports = [ imports = [
./disks.nix ./disks.nix
../../options.nix ../../options.nix
@ -14,10 +14,39 @@
"HDMI-A-1" = { pos = "1920 0"; }; "HDMI-A-1" = { pos = "1920 0"; };
}; };
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "usb_storage" "sd_mod" ]; boot = {
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ]; kernelParams = [
boot.extraModulePackages = [ ]; "quiet"
"splash"
"boot.shell_on_fail"
"udev.log_priority=3"
"rd.systemd.show_status=auto"
];
kernelModules = [ "kvm-intel" ];
extraModulePackages = [ ];
consoleLogLevel = 3;
initrd = {
verbose = false;
kernelModules = ["amdgpu" ];
availableKernelModules = [ "nvme" "xhci_pci" "usb_storage" "sd_mod" ];
};
plymouth = {
enable = true;
theme = "rings";
themePackages = with pkgs; [
(adi1090x-plymouth-themes.override {
selected_themes = ["rings"];
}
)
];
};
};
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking # Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's # (the default) this is the recommended approach. When using systemd-networkd it's

View file

@ -25,8 +25,11 @@
system.stateVersion = "25.05"; system.stateVersion = "25.05";
boot = { boot = {
loader.systemd-boot.enable = true; loader = {
loader.efi.canTouchEfiVariables = true; systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
# timeout = 0;
};
# kernelModules = []; # kernelModules = [];
kernelPackages = pkgs.linuxPackages_zen; kernelPackages = pkgs.linuxPackages_zen;