Merge branch 'nixos' into nixos-work

This commit is contained in:
Moritz Böhme 2024-02-14 10:18:36 +01:00
commit 826b470252
28 changed files with 749 additions and 552 deletions

View file

@ -2,6 +2,7 @@
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ pkgs
, config
, ...
}:
@ -46,13 +47,12 @@
# sensors
enableAllFirmware = true;
bluetooth.enable = true;
};
boot = {
# KERNEL
kernelPackages = pkgs.linuxPackages_latest;
kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages; # NOTE: use latest zfs compatible kernel
# BOOT
supportedFilesystems = [ "zfs" "btrfs" "ntfs" ];

View file

@ -20,6 +20,8 @@
webis.enable = true;
impermanence.enable = true;
};
programs.hyprland.monitors = [ "HDMI-A-1,3840x2160,auto,1.2" ",preferred,auto,1" ];
programs.exercism.enable = true;
};
# BOOT
@ -94,7 +96,7 @@
}/bin/python asus_touchpad.py m433ia
'';
# Probably needed because it fails on boot seemingly because the driver
# is not ready yet. Alternativly, you can use `sleep 3` or similar in the
# is not ready yet. Alternatively, you can use `sleep 3` or similar in the
# `script`.
serviceConfig = {
RestartSec = "1s";