treewide: prune more old xorg configs, and rename wayland modules

This commit is contained in:
LavaDesu 2025-03-23 00:29:58 +11:00
parent 46c30b9d5d
commit 2e74aa5f00
Signed by: cilly
GPG key ID: 6500251E087653C9
15 changed files with 10 additions and 318 deletions

59
users/rin/default.nix Normal file
View file

@ -0,0 +1,59 @@
{ config, lib, modules, pkgs, ... }: {
programs.zsh.enable = true;
users.users.rin = {
isNormalUser = true;
extraGroups = [ "adbusers" "audio" "corectrl" "libvirtd" "networkmanager" "video" "wheel" "wireshark" ];
shell = pkgs.zsh;
uid = 1001;
hashedPasswordFile = config.age.secrets.passwd.path;
};
home-manager.users.rin = { config, enableGUI, lib, pkgs, ... }: {
home = {
username = "rin";
homeDirectory = "/home/rin";
stateVersion = "21.05";
keyboard = null; # see https://github.com/nix-community/home-manager/issues/2219
};
imports = with modules.user; [
./packages.nix
sessionVariables
catppuccin
direnv
git
gpg
neovim
npm
pass
zsh
] ++ lib.optionals enableGUI [
theming
xdg
hypridle
hyprlock
kitty
mpv
obs
rofi
dunst
eww
spicetify
];
services.mpris-proxy.enable = true;
home.packages = [ pkgs.wl-clipboard ];
home.file.".local/bin/ipc-bridge.exe".source = builtins.fetchurl {
url = "https://github.com/0e4ef622/wine-discord-ipc-bridge/releases/download/v0.0.1/winediscordipcbridge.exe";
sha256 = "1swn9spxpq6blm74kjmfz4ipq6a8qjzccvb2msb25pf5b1z7jnns";
};
home.file.".local/bin/osu" = {
executable = true;
source = ../../scripts/osu;
};
};
}