refactoring

This commit is contained in:
ISnortPennies 2022-08-11 00:10:27 -04:00
parent 2b7d2bf54e
commit 90f4fe847a
9 changed files with 25 additions and 6 deletions

View file

@ -1,7 +1,6 @@
{ config, pkgs, lib, ... }:
{
system.stateVersion = "22.11";
boot.kernelPackages = pkgs.linuxPackages_latest;
environment = {
defaultPackages = [];
binsh = "${pkgs.dash}/bin/dash";

View file

@ -53,7 +53,6 @@
inherit system pkgs;
modules = [
./configuration.nix
./hardware-configuration.nix
./systems/laptop.nix
];
};
@ -61,7 +60,6 @@
inherit system pkgs;
modules = [
./configuration.nix
./hardware-configuration.nix
./systems/desktop.nix
];
};

View file

@ -0,0 +1 @@
#empty

View file

@ -0,0 +1,3 @@
{
"SKIP_HOST_UPDATE": true
}

View file

@ -15,12 +15,15 @@
vim-nix
vim-polyglot
vim-smoothie
nvim-tree-lua
nvim-web-devicons
tokyonight-nvim
rainbow
indentLine
undotree
];
extraConfig = ''
:lua require("nvim-tree").setup()
set tabstop=2
set expandtab
set shiftwidth=2

View file

@ -1,4 +1,5 @@
{
hardware.enableRedistributableFirmware = true;
boot = {
blacklistedKernelModules = [ "nouveau" "lbm-nouveau" "pcspkr" ];
kernelParams = [ "fbcon=nodefer" "bgrt_disable" "quiet" "splash" ];

View file

@ -16,7 +16,7 @@ environment.systemPackages = with pkgs; [
alsa-utils
btrfs-progs #for external harddrive
#user/gui
discord
(discord.override { nss = nss_latest; })
spotify-tray
vlc
bitwarden

View file

@ -16,7 +16,7 @@
../modules/zsh.nix
];
networking.hostName = "gerg-desktop";
boot.kernelPackages = pkgs.linuxPackages_latest;
hardware.cpu.amd.updateMicrocode = true;
#end important stuff
environment.systemPackages = with pkgs; [
@ -31,5 +31,19 @@
extraGroups = [ "wheel" "audio" "networkmanager" "kvm" "libvirtd" ];
};
};
boot = {
initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "uas" "sd_mod" ];
kernelModules = [ "kvm-amd" ];
};
fileSystems = {
"/" ={
device = "/dev/disk/by-uuid/f0f46e34-874f-4052-855c-38c88bd7987a";
fsType = "ext4";
};
"/boot" = {
device = "/dev/disk/by-uuid/5F00-1D91";
fsType = "vfat";
};
};
}

View file

@ -14,7 +14,7 @@
../modules/zsh.nix
];
networking.hostName = "gerg-laptop";
boot.kernelPackages = pkgs.linuxPackages_5_18;
hardware.cpu.amd.updateMicrocode = true;
# end important stuff