2024-10-03 17:40:41 +02:00
|
|
|
{ self, catppuccin, ... }: { config, lib, pkgs, ... }: {
|
|
|
|
imports = [
|
|
|
|
catppuccin.nixosModules.catppuccin
|
|
|
|
] ++ (with self.nixosModules; [
|
2024-08-18 13:47:18 +02:00
|
|
|
broken
|
|
|
|
btrfs
|
|
|
|
clusters
|
|
|
|
datacow
|
|
|
|
email
|
|
|
|
ephemeral
|
|
|
|
iosched
|
|
|
|
kernel
|
|
|
|
locale-en_EU
|
|
|
|
network
|
|
|
|
nix
|
|
|
|
openssh
|
|
|
|
powersupply
|
|
|
|
security
|
|
|
|
users
|
|
|
|
zram
|
2024-10-03 17:40:41 +02:00
|
|
|
]);
|
2024-08-18 13:47:18 +02:00
|
|
|
|
|
|
|
#boot.initrd.systemd.enable = true;
|
|
|
|
boot.tmp.useTmpfs = true;
|
|
|
|
|
2024-10-03 17:40:41 +02:00
|
|
|
catppuccin.enable = true;
|
|
|
|
|
2024-08-18 13:47:18 +02:00
|
|
|
documentation = {
|
|
|
|
dev.enable = true;
|
|
|
|
doc.enable = false;
|
|
|
|
info.enable = false;
|
|
|
|
man.generateCaches = false;
|
|
|
|
};
|
|
|
|
|
|
|
|
environment = {
|
|
|
|
binsh = "${pkgs.dash}${pkgs.dash.shellPath}";
|
|
|
|
|
|
|
|
shellAliases = builtins.mapAttrs (name: lib.mkOverride 999) {
|
|
|
|
ls = null;
|
|
|
|
ll = null;
|
|
|
|
l = null;
|
2024-09-16 19:38:29 +02:00
|
|
|
|
|
|
|
lsusb = "cyme --lsusb";
|
2024-08-18 13:47:18 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
systemPackages = with pkgs; [
|
|
|
|
# Terminfo
|
|
|
|
kitty.terminfo
|
|
|
|
|
|
|
|
# Utilities
|
|
|
|
(lib.meta.setPrio 0 uutils-coreutils-noprefix)
|
|
|
|
|
|
|
|
# Hardware info
|
|
|
|
pciutils
|
2024-09-16 19:38:29 +02:00
|
|
|
cyme
|
2024-08-18 13:47:18 +02:00
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
hardware.block = {
|
|
|
|
defaultScheduler = "kyber";
|
|
|
|
defaultSchedulerRotational = "bfq";
|
|
|
|
scheduler = {
|
|
|
|
"mmcblk*" = "bfq";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
hardware.enableRedistributableFirmware = false;
|
|
|
|
hardware.firmware = with pkgs; [
|
|
|
|
linux-firmware
|
|
|
|
#alsa-firmware
|
|
|
|
sof-firmware
|
|
|
|
];
|
|
|
|
|
|
|
|
ephemeral.enable = lib.mkDefault true;
|
|
|
|
|
|
|
|
location.provider = lib.mkIf config.hardware.graphics.enable "geoclue2";
|
|
|
|
|
|
|
|
services.dbus.implementation = "broker";
|
|
|
|
services.lvm.enable = lib.mkDefault false;
|
|
|
|
|
|
|
|
#system.etc.overlay.enable = true;
|
|
|
|
|
|
|
|
system.stateVersion = "24.11";
|
|
|
|
|
|
|
|
time.timeZone = lib.mkDefault "CET";
|
|
|
|
|
|
|
|
users.mutableUsers = false;
|
|
|
|
}
|