flakes now also nano nix also moved private vars off repo

This commit is contained in:
2026-09-20 05:07:14 +05:00
parent d02a49f54f
commit 70fd24f60d
9 changed files with 449 additions and 19 deletions
+39
View File
@@ -0,0 +1,39 @@
# 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")
];
boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "usbhid" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/mapper/luks-f1f87ec2-2936-42d7-8868-df9809a94bdd";
fsType = "btrfs";
options = [ "subvol=@" ];
};
boot.initrd.luks.devices."luks-f1f87ec2-2936-42d7-8868-df9809a94bdd".device = "/dev/disk/by-uuid/f1f87ec2-2936-42d7-8868-df9809a94bdd";
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/4704-5F49";
fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ];
};
fileSystems."/home/shihaam" =
{ device = "/dev/disk/by-uuid/7725ca8d-07cf-46b1-a025-efc7210a4a75";
fsType = "btrfs";
};
swapDevices = [ ];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}