cosmic alpha
This commit is contained in:
parent
1d41373673
commit
c5733c0812
8 changed files with 888 additions and 813 deletions
|
@ -31,8 +31,8 @@
|
|||
trusted-users = ["bolt" "plank"];
|
||||
experimental-features = "nix-command flakes";
|
||||
substitute = true;
|
||||
substituters = [];
|
||||
trusted-public-keys = [];
|
||||
substituters = ["https://cosmic.cachix.org/"];
|
||||
trusted-public-keys = ["cosmic.cachix.org-1:Dya9IyXD4xdBehWjrkPv6rtxpmMdRel02smYzA85dPE="];
|
||||
};
|
||||
extraOptions = ''
|
||||
keep-outputs = true
|
||||
|
@ -90,12 +90,15 @@
|
|||
runUsingSystemd = true;
|
||||
};
|
||||
|
||||
displayManager.sddm = {
|
||||
wayland.enable = true; # experimental?
|
||||
enable = true;
|
||||
};
|
||||
displayManager.defaultSession = "plasma";
|
||||
# displayManager.sddm = {
|
||||
# # wayland.enable = true; # experimental?
|
||||
# # wayland.compositor = "kwin";
|
||||
# enable = true;
|
||||
# };
|
||||
# displayManager.defaultSession = "plasmawayland";
|
||||
};
|
||||
services.desktopManager.cosmic.enable = true;
|
||||
services.displayManager.cosmic-greeter.enable = true;
|
||||
|
||||
services.udisks2.enable = true;
|
||||
|
||||
|
|
|
@ -14,9 +14,10 @@
|
|||
|
||||
boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "usbcore" "sd_mod"];
|
||||
boot.initrd.kernelModules = [];
|
||||
boot.initrd.systemd.enable = true;
|
||||
boot.kernelModules = ["kvm-amd" "i2c-dev"];
|
||||
boot.kernelParams = [
|
||||
"nvidia_drm.modeset=1"
|
||||
"nvidia-drm.fbdev=1"
|
||||
"mitigations=off"
|
||||
"acpi_enforce_resources=lax"
|
||||
"preempt=full"
|
||||
|
@ -28,12 +29,18 @@
|
|||
];
|
||||
|
||||
boot.kernelPackages = pkgs.linuxPackages_xanmod_latest;
|
||||
boot.supportedFilesystems = {
|
||||
ntfs = true;
|
||||
btrfs = true;
|
||||
};
|
||||
|
||||
boot.loader.systemd-boot.configurationLimit = 5;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
# boot.plymouth.enable = true;
|
||||
|
||||
boot.supportedFilesystems = ["ntfs"];
|
||||
# boot.plymouth = with pkgs.rice.plymouth; {
|
||||
# inherit font theme themePackages;
|
||||
# enable = true;
|
||||
# };
|
||||
|
||||
security.tpm2.enable = true;
|
||||
|
||||
|
@ -41,7 +48,7 @@
|
|||
|
||||
hardware.cpu.amd.updateMicrocode = true;
|
||||
|
||||
environment.sessionVariables = rec {
|
||||
environment.sessionVariables = {
|
||||
NIXOS_OZONE_WL = "1";
|
||||
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE = "fg=5";
|
||||
GBM_BACKEND = "nvidia-drm";
|
||||
|
@ -76,7 +83,6 @@
|
|||
};
|
||||
|
||||
services.xserver.videoDrivers = ["nvidia"];
|
||||
services.xserver.displayManager.autoLogin.user = "bolt";
|
||||
hardware.nvidia = {
|
||||
package = config.boot.kernelPackages.nvidiaPackages.stable;
|
||||
modesetting.enable = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue