massive rewrite using flake-parts

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
2022-12-08 01:00:12 +05:30
parent dfd8c57b60
commit aaf19ee844
45 changed files with 245 additions and 531 deletions

View File

@@ -3,8 +3,7 @@
{
boot = {
supportedFilesystems = [ "zfs" ];
kernelPackages = pkgs.unstable.linuxPackages_latest;
kernelPackages = pkgs.linuxPackages_latest;
initrd = {
availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "sd_mod" "vfio-pci" ];
/* preDeviceCommands = ''

View File

@@ -16,8 +16,8 @@ in
opengl = {
driSupport32Bit = true;
enable = true;
package = pkgs.master.mesa.drivers;
package32 = pkgs.master.pkgsi686Linux.mesa.drivers;
package = pkgs.mesa.drivers;
package32 = pkgs.pkgsi686Linux.mesa.drivers;
};
nvidia = {
package = config.boot.kernelPackages.nvidia_x11;

View File

@@ -1,4 +1,4 @@
{ lib, config, pkgs, ... }:
{ lib, config, inputs, pkgs, ... }:
{
environment.systemPackages = with pkgs; [
@@ -18,11 +18,10 @@
cachix
gcc
glibc.static
stable.openjdk
openjdk
virtmanager
tree-sitter
docker-compose
nodePackages.typescript
rust-bin.nightly.latest.default
clang-tools
rnix-lsp
@@ -44,7 +43,7 @@
};
git = {
enable = true;
package = pkgs.master.git.override {
package = pkgs.git.override {
doInstallCheck = false;
sendEmailSupport = true;
withManual = false;

View File

@@ -45,9 +45,8 @@
font-awesome
monoid
office-code-pro
hanazono
eb-garamond
# noto-fonts-cjk
noto-fonts-cjk
];
users.users.natto = {
isNormalUser = true;