Gen 396: updated flake and input files to use a username special arg instead of hardcoding my username

This commit is contained in:
pagedMov
2024-10-11 23:51:59 -04:00
parent a31cbe4d7e
commit f8d099d40b
8 changed files with 24 additions and 28 deletions

View File

@@ -1,12 +1,10 @@
# 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, ... }:
{ config, lib, modulesPath, username, ... }:
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "uas" "sd_mod" ];
boot.initrd.kernelModules = [ ];
@@ -29,7 +27,7 @@
fsType = "ext4";
};
fileSystems."/home/pagedmov/steamlib" =
fileSystems."/home/${username}/steamlib" =
{ device = "/dev/nvme0n1p1";
fsType = "ext4";
};