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

View file

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