treewide: prune out xorg

This commit is contained in:
LavaDesu 2025-03-23 00:23:58 +11:00
parent b89253931d
commit 46c30b9d5d
Signed by: cilly
GPG key ID: 6500251E087653C9
16 changed files with 1 additions and 205 deletions

View file

@ -33,7 +33,6 @@ in {
./system/corectrl.nix
./system/flatpak.nix
./system/greetd_wayland.nix
./system/greetd_xorg.nix
./system/gui.nix
./system/home-manager.nix
./system/input.nix
@ -54,7 +53,6 @@ in {
./user/direnv.nix
./user/dunst.nix
./user/eww.nix
./user/eww-wayland.nix
./user/git.nix
./user/gpg.nix
./user/hypridle.nix
@ -70,13 +68,11 @@ in {
./user/picom.nix
./user/polybar.nix
./user/rofi.nix
./user/rofi-wayland.nix
./user/sessionVariables.nix
./user/spicetify.nix
./user/sxhkd.nix
./user/theming.nix
./user/xdg.nix
./user/xorg.nix
./user/zsh.nix
];
}

View file

@ -1,4 +1,4 @@
{ pkgs, lib, ... }: {
{ pkgs, ... }: {
services.greetd = {
enable = true;
settings = {
@ -15,9 +15,4 @@
};
};
};
services.xserver = {
autorun = false;
displayManager.startx.enable = true;
};
}

View file

@ -1,16 +0,0 @@
{ pkgs, lib, ... }: {
services.greetd = {
enable = true;
settings = {
default_session = {
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --remember --asterisks --time --cmd 'zsh -c \"source $HOME/.config/zsh/.zshrc && startx\"'";
user = "greeter";
};
};
};
services.xserver = {
autorun = false;
displayManager.startx.enable = true;
};
}

View file

@ -8,12 +8,5 @@
};
xkb.options = "caps:escape";
};
services.libinput = {
enable = true;
mouse = {
accelSpeed = "0";
accelProfile = "flat";
};
};
console.useXkbConfig = true;
}

View file

@ -1,8 +0,0 @@
# Depends on bspwm
{ pkgs, ... }: {
home.packages = with pkgs; [ xtitle ];
programs.eww = {
enable = true;
configDir = ../../res/eww;
};
}

View file

@ -1,7 +0,0 @@
{ config, inputs, ... }: {
programs.rofi = {
enable = true;
theme = "theme";
};
xdg.configFile."rofi/theme.rasi".source = ../../res/theme.rasi;
}

View file

@ -22,7 +22,6 @@
NPM_CONFIG_USERCONFIG = "${config.xdg.configHome}/npm/npmrc";
PUB_CACHE = "${config.xdg.cacheHome}/dart";
WGETRC = "${config.xdg.configHome}/wgetrc";
XINITRC = "${config.xdg.configHome}/xorg/xinitrc";
WINEPREFIX = "${config.xdg.dataHome}/wine64";
WINEARCH = "win64";

View file

@ -1,51 +0,0 @@
{ config, ... }: {
xsession = {
enable = true;
profilePath = ".config/xorg/xprofile";
scriptPath = ".config/xorg/xsession";
};
xdg.configFile."xorg/xinitrc".source = ../../scripts/xinitrc;
xresources = {
path = "${config.xdg.configHome}/xorg/xresources";
properties = {
# special
"*.foreground" = "#c5c8c6";
"*.background" = "#1d1f21";
"*.cursorColor" = "#c5c8c6";
# black
"*.color0" = "#1d1f21";
"*.color8" = "#969896";
# red
"*.color1" = "#cc342b";
"*.color9" = "#cc342b";
# green
"*.color2" = "#198844";
"*.color10" = "#198844";
# yellow
"*.color3" = "#fba922";
"*.color11" = "#fba922";
# blue
"*.color4" = "#3971ed";
"*.color12" = "#3971ed";
# magenta
"*.color5" = "#a36ac7";
"*.color13" = "#a36ac7";
# cyan
"*.color6" = "#3971ed";
"*.color14" = "#3971ed";
# white
"*.color7" = "#c5c8c6";
"*.color15" = "#ffffff";
};
};
}