Reworked directory structure, changed aroundthings here and there in Kanata conf.kbd, Emacs init.el, and common.nix (added direnv)

This commit is contained in:
lulusilly 2026-04-05 00:44:25 -04:00
parent f3f8da5fdf
commit 507b016a03
25 changed files with 52 additions and 118 deletions

View file

@ -0,0 +1,17 @@
{ config, pkgs, inputs, ... }:
{
imports =
[
./hardware-configuration.nix
../../modules/kanata/kanata.nix
../../modules/efi.nix
../../modules/laptop.nix
../../modules/hypr.nix
../../modules/syncthing.nix
];
networking.hostName = "kirigiri";
system.stateVersion = "25.11";
}

View file

@ -0,0 +1,33 @@
# 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" "ahci" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/1cf9f882-6a8b-4f41-b6d2-c4533b2de98c";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/12CE-A600";
fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ];
};
swapDevices =
[ { device = "/dev/disk/by-uuid/33ef7c7f-5728-423a-a27b-810381c2b968"; }
];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}