restructure + add vr
This commit is contained in:
@@ -2,21 +2,17 @@
|
||||
pkgs,
|
||||
sls-steam,
|
||||
options,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cpuid-fault-emulation = pkgs.callPackage ../../pkgs/cpuid-fault-emulation {
|
||||
kernel = config.boot.kernelPackages.kernel;
|
||||
};
|
||||
in
|
||||
|
||||
{
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
./packages.nix
|
||||
./boot.nix
|
||||
./drives.nix
|
||||
./packages.nix
|
||||
./hardware-configuration.nix
|
||||
../../modules/git.nix
|
||||
../../modules/scripts.nix
|
||||
../../modules/desktop/vr.nix
|
||||
../../modules/programs/nixvim/neovim.nix
|
||||
];
|
||||
|
||||
@@ -31,16 +27,6 @@ in
|
||||
"flakes"
|
||||
];
|
||||
|
||||
boot.kernelParams = [
|
||||
"iomem=relaxed"
|
||||
"iommu=pt"
|
||||
"amd_iommu=on"
|
||||
"kvm.ignore_msrs=1"
|
||||
"mitigations=off"
|
||||
"amdgpu.ppfeaturemask=0xffffffff"
|
||||
"clearcpuid=umip"
|
||||
];
|
||||
|
||||
xdg = {
|
||||
mime.defaultApplications = {
|
||||
"inode/directory" = [ "nemo.desktop" ];
|
||||
@@ -57,12 +43,6 @@ in
|
||||
powerOnBoot = false;
|
||||
};
|
||||
|
||||
# Bootloader.
|
||||
boot.loader.grub.enable = true;
|
||||
boot.loader.grub.device = "nodev";
|
||||
boot.loader.grub.efiSupport = true;
|
||||
boot.extraModulePackages = [ cpuid-fault-emulation ];
|
||||
|
||||
environment.systemPackages = [
|
||||
(pkgs.writeShellScriptBin "enable-hypervisor" ''
|
||||
sudo modprobe -r kvm_amd kvm
|
||||
@@ -144,31 +124,6 @@ in
|
||||
programs.kdeconnect.enable = true;
|
||||
services.rsync.enable = true;
|
||||
programs.neovim.enable = true;
|
||||
programs.git = {
|
||||
enable = true;
|
||||
config = {
|
||||
signing = {
|
||||
key = "51AE8C6E80E6AF3BDFBE2BF804B31D181764898D";
|
||||
signByDefault = true;
|
||||
};
|
||||
user = {
|
||||
name = "KeksNino";
|
||||
email = "KeksNino@proton.me";
|
||||
};
|
||||
init = {
|
||||
defaultBranch = "main";
|
||||
};
|
||||
push = {
|
||||
autoSetupRemote = true;
|
||||
};
|
||||
commit = {
|
||||
gpgsign = true;
|
||||
};
|
||||
tag = {
|
||||
gpgsign = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
programs.gnupg.agent = {
|
||||
enable = true;
|
||||
|
||||
Reference in New Issue
Block a user