Move config files around for organization. WIP
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1 +1 @@
|
|||||||
hardware-configuration.nix
|
configuration.nix
|
||||||
|
|||||||
0
homemanager-modules/default.nix
Normal file
0
homemanager-modules/default.nix
Normal file
@@ -8,8 +8,8 @@
|
|||||||
imports =
|
imports =
|
||||||
[ # Include the results of the hardware scan.
|
[ # Include the results of the hardware scan.
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
./dev-tools.nix
|
./../../nixos-modules/devtools.nix
|
||||||
./desktop.nix
|
./../../nixos-modules/desktop.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# Bootloader.
|
# Bootloader.
|
||||||
@@ -52,7 +52,6 @@
|
|||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "Weckyy702";
|
description = "Weckyy702";
|
||||||
extraGroups = [ "networkmanager" "wheel" ];
|
extraGroups = [ "networkmanager" "wheel" ];
|
||||||
packages = with pkgs; [];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
nix.settings.experimental-features = [
|
nix.settings.experimental-features = [
|
||||||
@@ -66,6 +65,7 @@
|
|||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
vim
|
vim
|
||||||
wget
|
wget
|
||||||
|
kitty
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
27
hosts/keith/hardware-configuration.nix
Normal file
27
hosts/keith/hardware-configuration.nix
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
# 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 = [ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
|
||||||
|
boot.initrd.kernelModules = [ "amdgpu" ];
|
||||||
|
boot.kernelModules = [ "kvm-amd" ];
|
||||||
|
boot.extraModulePackages = [ ];
|
||||||
|
|
||||||
|
fileSystems."/" =
|
||||||
|
{ device = "/dev/disk/by-uuid/0869e843-348d-47e3-b6a1-79ad814ff62b";
|
||||||
|
fsType = "ext4";
|
||||||
|
};
|
||||||
|
|
||||||
|
swapDevices =
|
||||||
|
[ { device = "/dev/disk/by-uuid/40b22e5b-839d-4189-93e7-246407cc76c7"; }
|
||||||
|
];
|
||||||
|
|
||||||
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
|
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
|
}
|
||||||
6
nixos-modules/apps.nix
Normal file
6
nixos-modules/apps.nix
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
{config, pkgs, ... }: {
|
||||||
|
users.users.weckyy702.packages = with pkgs; [
|
||||||
|
firefox
|
||||||
|
bitwarden-desktop
|
||||||
|
];
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user