added xps directory

This commit is contained in:
Rohan Deshpande
2024-09-10 22:29:52 -04:00
parent b0462a90af
commit 3c0fa30ecd
7 changed files with 349 additions and 12 deletions

View File

@@ -76,7 +76,11 @@
git
firefox
pulsemixer
brightnessctl
];
environment.sessionVariables = {
NIXOS_OZONE_WL = "1";
};
# Some programs need SUID wrappers, can be configured further or are
# started in user sessions.
@@ -133,7 +137,7 @@ nix.settings.experimental-features = ["nix-command" "flakes"];
sansSerif = config.stylix.fonts.serif;
sizes = {
applications = 10;
terminal = 10;
terminal = 11;
};
};

View File

@@ -8,20 +8,19 @@
[ (modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usbhid" "usb_storage" "sd_mod" ];
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/2ab1148a-2b6a-4586-b9de-79e99af37f69";
{ device = "/dev/disk/by-uuid/0f5bd08c-cfaf-422c-b875-64e42029bee4";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/F256-0876";
{ device = "/dev/disk/by-uuid/1424-2266";
fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ];
};
swapDevices = [ ];
@@ -31,9 +30,9 @@
# still possible to use this option, but it's recommended to use it in conjunction
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
networking.useDHCP = lib.mkDefault true;
# networking.interfaces.enp0s20f0u4u2.useDHCP = lib.mkDefault true;
# networking.interfaces.wlp1s0.useDHCP = lib.mkDefault true;
# networking.interfaces.wlp108s0.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}

View File

@@ -33,11 +33,12 @@
nix-tree
sway-contrib.grimshot
runelite
(discord.override {
withOpenASAR = true;
withVencord = true;
})
# (discord.override {
# withOpenASAR = true;
# withVencord = true;
# })
obsidian
vesktop
];
@@ -48,7 +49,7 @@
enableSyntaxHighlighting = true;
loginExtra = "sway";
shellAliases = {
"update" = "sudo nixos-rebuild switch --flake /home/rohand/nixos-surface-config#surface";
"update" = "sudo nixos-rebuild switch --flake /home/rohand/nixos-surface-config#xps";
};
oh-my-zsh = {
enable = true;