1
0
Fork 0
forked from autowolf/nix
This commit is contained in:
do butterflies cry? 2026-02-23 12:15:31 +10:00
parent 252814b193
commit eb74b94f02
4 changed files with 102 additions and 90 deletions

View file

@ -1,12 +1,14 @@
{ config, inputs, lib, pkgs, ... }:
let
nvidiaPackage = config.hardware.nvidia.package;
in
{
imports =
[ # Include the results of the hardware scan.
config,
inputs,
lib,
pkgs,
...
}: let
nvidiaPackage = config.hardware.nvidia.package;
in {
imports = [
# Include the results of the hardware scan.
./hardware-configuration.nix
];

View file

@ -22,10 +22,14 @@ description = "NixOS configuration";
hyprland-git = {
url = "github:hyprwm/Hyprland/25250527793eb04bb60f103abe7f06370b9f6e1c";
};
};
outputs = inputs@{ nixpkgs, home-manager, nixcats, ... }: {
outputs = inputs @ {
nixpkgs,
home-manager,
nixcats,
...
}: {
nixosConfigurations = {
girlCore = nixpkgs.lib.nixosSystem {
specialArgs = {inherit inputs;};

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" "ahci" "usbhid"];
@ -13,13 +17,13 @@
boot.kernelModules = ["kvm-amd"];
boot.extraModulePackages = [];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/10c61ccc-e175-4cfd-bd6a-08a57dbdb0b5";
fileSystems."/" = {
device = "/dev/disk/by-uuid/10c61ccc-e175-4cfd-bd6a-08a57dbdb0b5";
fsType = "btrfs";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/24E3-BA29";
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/24E3-BA29";
fsType = "vfat";
options = ["fmask=0077" "dmask=0077"];
};

View file

@ -1,5 +1,8 @@
{ inputs, pkgs, ... }:
{
inputs,
pkgs,
...
}: {
imports = [
./modules/neovim/nixcats.nix
./modules/waybar/default.nix
@ -39,4 +42,3 @@
home.stateVersion = "25.11";
}