some stuiffs and also things probablyt
This commit is contained in:
parent
59987ac080
commit
f103ffdc46
5 changed files with 131 additions and 43 deletions
|
@ -131,7 +131,7 @@ with lib // pkgs // inputs; {
|
|||
};
|
||||
|
||||
boot = {
|
||||
blacklistedKernelModules = ["nouveau"];
|
||||
blacklistedKernelModules = ["nouveau" "i915"];
|
||||
kernelPackages = linuxPackages_cachyos;
|
||||
supportedFilesystems = ["btrfs" "ntfs"];
|
||||
|
||||
|
@ -157,7 +157,8 @@ with lib // pkgs // inputs; {
|
|||
"intel_iommu=on"
|
||||
"iommu=pt"
|
||||
"kvm.ignore_msrs=1"
|
||||
"modprobe.blacklist=nouveau"
|
||||
"modprobe.blacklist=nouveau,i915"
|
||||
"nvidia_drm.fbdev=1"
|
||||
];
|
||||
|
||||
loader = {
|
||||
|
@ -230,6 +231,7 @@ with lib // pkgs // inputs; {
|
|||
substituters = [
|
||||
"https://cache.nixos.org?priority=100"
|
||||
"https://cache.privatevoid.net"
|
||||
"https://cosmic.cachix.org/"
|
||||
"https://cuda-maintainers.cachix.org"
|
||||
"https://hyprland.cachix.org"
|
||||
"https://nix-community.cachix.org"
|
||||
|
@ -240,6 +242,7 @@ with lib // pkgs // inputs; {
|
|||
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
|
||||
"cache.privatevoid.net:SErQ8bvNWANeAvtsOESUwVYr2VJynfuc9JRwlzTTkVg="
|
||||
"chaotic-nyx.cachix.org-1:HfnXSw4pj95iI/n17rIDy40agHj12WfF+Gqk6SonIT8="
|
||||
"cosmic.cachix.org-1:Dya9IyXD4xdBehWjrkPv6rtxpmMdRel02smYzA85dPE="
|
||||
"cuda-maintainers.cachix.org-1:0dq3bujKpuEPMCX6U4WylrUDZ9JyUG0VpVZa7CNfq5E="
|
||||
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
|
||||
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
||||
|
@ -410,18 +413,26 @@ with lib // pkgs // inputs; {
|
|||
spice-vdagentd.enable = true;
|
||||
udisks2.enable = true;
|
||||
|
||||
greetd = {
|
||||
emacs = {
|
||||
enable = true;
|
||||
settings = rec {
|
||||
initial_session = {
|
||||
command = "${pkgs.hyprland}/bin/Hyprland";
|
||||
user = "marshall";
|
||||
};
|
||||
|
||||
default_session = initial_session;
|
||||
};
|
||||
package = inputs.emacs.packages.${system}.default;
|
||||
};
|
||||
|
||||
# greetd = {
|
||||
# enable = true;
|
||||
# settings = rec {
|
||||
# initial_session = {
|
||||
# command = "${pkgs.hyprland}/bin/hyprland";
|
||||
# user = "marshall";
|
||||
# };
|
||||
#
|
||||
# default_session = initial_session;
|
||||
# };
|
||||
# };
|
||||
|
||||
desktopManager.cosmic.enable = true;
|
||||
displayManager.cosmic-greeter.enable = true;
|
||||
|
||||
libinput = {
|
||||
enable = true;
|
||||
touchpad.naturalScrolling = true;
|
||||
|
@ -477,6 +488,7 @@ with lib // pkgs // inputs; {
|
|||
package = config.boot.kernelPackages.nvidiaPackages.beta;
|
||||
modesetting.enable = true;
|
||||
powerManagement.enable = true;
|
||||
open = false;
|
||||
|
||||
prime = {
|
||||
sync.enable = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue