This commit is contained in:
buffet 2024-01-21 17:11:31 +01:00
parent 86f5daa360
commit d4e7cb3b3e
3 changed files with 30 additions and 25 deletions

View file

@ -1,30 +1,34 @@
# Do not modify this file! It was generated by nixos-generate-config # Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes # and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead. # to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{ {
imports = config,
[ (modulesPath + "/installer/scan/not-detected.nix") lib,
pkgs,
modulesPath,
...
}: {
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
]; ];
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ]; boot.initrd.availableKernelModules = ["xhci_pci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc"];
boot.initrd.kernelModules = [ ]; boot.initrd.kernelModules = [];
boot.kernelModules = [ ]; boot.kernelModules = [];
boot.extraModulePackages = [ ]; boot.extraModulePackages = [];
fileSystems."/" = fileSystems."/" = {
{ device = "UUID=288cfd6e-dd6d-4ac4-bc2f-36c1309f8619"; device = "UUID=288cfd6e-dd6d-4ac4-bc2f-36c1309f8619";
fsType = "bcachefs"; fsType = "bcachefs";
}; };
fileSystems."/boot" = fileSystems."/boot" = {
{ device = "/dev/disk/by-uuid/6029-DD49"; device = "/dev/disk/by-uuid/6029-DD49";
fsType = "vfat"; fsType = "vfat";
}; };
swapDevices = swapDevices = [
[ { device = "/dev/disk/by-uuid/62a6b7a0-413a-46e8-bf6f-aba4eedf06a9"; } {device = "/dev/disk/by-uuid/62a6b7a0-413a-46e8-bf6f-aba4eedf06a9";}
]; ];
# 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

View file

@ -1,4 +1,8 @@
{pkgs, nix-index-database, ...}: { {
pkgs,
nix-index-database,
...
}: {
home-manager.users.buffet = { home-manager.users.buffet = {
home = { home = {
file.".cache/nix-index/files".source = nix-index-database.legacyPackages.${pkgs.stdenv.system}.database; file.".cache/nix-index/files".source = nix-index-database.legacyPackages.${pkgs.stdenv.system}.database;

View file

@ -1,7 +1,4 @@
{ {pkgs, ...}: {
pkgs,
...
}: {
imports = [ imports = [
./bash.nix ./bash.nix
./cargo.nix ./cargo.nix