This commit is contained in:
KoenDR06 2025-02-11 17:31:06 +01:00
parent d6bdbe514d
commit dd65a32a60
9 changed files with 115 additions and 68 deletions

View file

@ -29,58 +29,8 @@
}; };
home.packages = with pkgs; [ home.packages = with pkgs; [
alacritty
bitwarden
direnv
discord-ptb
docker-compose
ethtool
file
fzf
gcc
ghex
gnome-calculator
gnupg gnupg
haskell.compiler.native-bignum.ghcHEAD
haskell-language-server
htop
icu
jdk
jetbrains.clion
jetbrains.idea-ultimate
jetbrains.pycharm-professional
jetbrains.rider
jetbrains.webstorm
inkscape
inotify-tools
keepassxc
krita
libreoffice
lsix
mullvad-vpn
neofetch
nodejs_22
obsidian
parsec-bin
platformio-core platformio-core
python313
qbittorrent
reaper
retext
solaar
sops
spotify
sqlite
sqlitebrowser
sxiv
termdown
thunderbird
tmux
unzip
vlc
wakeonlan
xclip
zsh
]; ];
programs.home-manager.enable = true; programs.home-manager.enable = true;

View file

@ -31,8 +31,6 @@
services.displayManager.sddm.enable = true; services.displayManager.sddm.enable = true;
services.displayManager.sddm.autoNumlock = true; services.displayManager.sddm.autoNumlock = true;
services.displayManager.defaultSession = "plasma"; services.displayManager.defaultSession = "plasma";
boot.loader.systemd-boot.enable = true;
boot.kernelModules = [ "snd-seq" "snd-rawmidi" ];
hardware.bluetooth.enable = true; hardware.bluetooth.enable = true;
hardware.pulseaudio.enable = false; hardware.pulseaudio.enable = false;

View file

@ -22,9 +22,6 @@
networking.hostName = "solis"; networking.hostName = "solis";
boot.loader.grub.enable = true;
boot.loader.grub.device = "/dev/sda";
virtualisation.docker.enable = true; virtualisation.docker.enable = true;
services.resolved.enable = true; services.resolved.enable = true;

View file

@ -1,13 +0,0 @@
{
inputs,
outputs,
lib,
config,
pkgs,
...
}: {
environment.systemPackages = [
pkgs.refind
pkgs.efibootmgr
];
}

View file

@ -0,0 +1,25 @@
{
inputs,
outputs,
lib,
config,
pkgs,
...
}: let
inherit (lib) mkEnableOption mkIf mkOption types;
cfg = config.horseman.boot.grub;
in {
options = {
horseman.boot.grub = {
enable = mkEnableOption "Enables grub, the bootloader";
};
};
config = mkIf cfg.enable {
boot.loader.grub = {
enable = true;
device = "/dev/sda";
configurationLimit = 10;
};
};
}

View file

@ -0,0 +1,23 @@
{
inputs,
outputs,
lib,
config,
pkgs,
...
}: let
inherit (lib) mkEnableOption mkIf mkOption types;
cfg = config.horseman.boot.refind;
in {
options = {
horseman.boot.refind = {
enable = mkEnableOption "Enables rEFInd, the bootloader";
};
};
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [
refind
];
};
}

View file

@ -0,0 +1,25 @@
{
inputs,
outputs,
lib,
config,
pkgs,
...
}: let
inherit (lib) mkEnableOption mkIf mkOption types;
cfg = config.horseman.boot.systemd;
in {
options = {
horseman.boot.systemd = {
enable = mkEnableOption "Enables systemd, the bootloader";
};
};
config = mkIf cfg.enable {
boot.kernelModules = [ "snd-seq" "snd-rawmidi" ];
boot.loader.systemd-boot = {
enable = true;
configurationLimit = 10;
};
};
}

View file

@ -0,0 +1,21 @@
{
inputs,
outputs,
lib,
config,
pkgs,
...
}: let
inherit (lib) mkEnableOption mkIf mkOption types;
cfg = config.horseman.xxxxxx.xxxxxx;
in {
options = {
horseman.xxxxxx.xxxxxx = {
enable = mkEnableOption "";
};
};
config = mkIf cfg.enable {
};
}

View file

@ -0,0 +1,21 @@
{
inputs,
outputs,
lib,
config,
pkgs,
...
}: let
inherit (lib) mkEnableOption mkIf mkOption types;
cfg = config.horseman.terminal.neovim;
in {
options = {
horseman.terminal.neovim = {
enable = mkEnableOption "Neovim options";
};
};
config = mkIf cfg.enable {
};
}