mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
refactoring
This commit is contained in:
parent
2b7d2bf54e
commit
90f4fe847a
9 changed files with 25 additions and 6 deletions
|
|
@ -1,7 +1,6 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
{
|
||||
system.stateVersion = "22.11";
|
||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||
environment = {
|
||||
defaultPackages = [];
|
||||
binsh = "${pkgs.dash}/bin/dash";
|
||||
|
|
|
|||
|
|
@ -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
|
||||
];
|
||||
};
|
||||
|
|
|
|||
1
hardware-configuration.nix
Normal file
1
hardware-configuration.nix
Normal file
|
|
@ -0,0 +1 @@
|
|||
#empty
|
||||
3
home-manager/config/discord/settings.json
Normal file
3
home-manager/config/discord/settings.json
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"SKIP_HOST_UPDATE": true
|
||||
}
|
||||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
hardware.enableRedistributableFirmware = true;
|
||||
boot = {
|
||||
blacklistedKernelModules = [ "nouveau" "lbm-nouveau" "pcspkr" ];
|
||||
kernelParams = [ "fbcon=nodefer" "bgrt_disable" "quiet" "splash" ];
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue