zenix: update, rm cosmic

This commit is contained in:
Tristan 2025-08-30 16:32:18 +01:00
parent 2219fb8619
commit 3c0e9c18de
9 changed files with 52 additions and 74 deletions

View file

@ -1,13 +1,11 @@
# https://search.nixos.org/options
{
inputs,
config,
pkgs,
lib,
user,
...
}: let
user = config.user;
in {
}: {
nix = {
settings = {
experimental-features = ["nix-command" "flakes" "pipe-operators"];
@ -98,6 +96,7 @@ in {
nix-tree
comma
jq
bat
];
boot.kernel.sysctl = {

View file

@ -1,10 +0,0 @@
command: {user, ...}: {
services.greetd = {
enable = true;
settings = {
default_session = {
inherit command user;
};
};
};
}

View file

@ -12,10 +12,13 @@
dedicatedServer.openFirewall = true;
gamescopeSession = {
enable = true;
args = ["-r" "120" "-W" "3840" "-H" "2160" "-O" "HDMI-A-1" "--rt" "--hdr-enabled" "--adaptive-sync"];
args = ["-r" "120" "-W" "3840" "-H" "2160" "-O" "HDMI-A-1" "--rt" "--hdr-enabled" "--adaptive-sync" "--xwayland-count" "2"];
env = {
PROTON_ENABLE_WAYLAND = "1";
PROTON_ENABLE_HDR = "1";
ENABLE_HDR_WSI = "1";
DXVK_HDR = "1";
STEAM_MULTIPLE_XWAYLANDS = "1";
};
};
};

View file

@ -3,6 +3,7 @@
pkgs,
lib,
config,
user,
...
}: {
imports = [
@ -28,6 +29,8 @@
virtualisation.waydroid.enable = true;
services.displayManager.cosmic-greeter.enable = true;
networking.stevenblack = {
enable = lib.mkDefault true;
block = ["porn" "gambling"];
@ -76,18 +79,11 @@
};
qt.enable = true;
nixpkgs.overlays = [
(final: prev: {
interalia = prev.callPackage ../pkgs/interalia.nix {};
})
];
fonts.packages = with pkgs; [
nerd-fonts.symbols-only
interalia
];
home-manager.users.${config.user}.imports = [
home-manager.users.${user}.imports = [
../home/workstation.nix
];