refactor: major structural changes
git updates update tmux conf add ansible tools squash me squash fix: get git aliases from plugin virt stuff add devenv some virt updates kubernetes
This commit is contained in:
parent
2e8c1eec90
commit
2220c4e917
87 changed files with 1963 additions and 2261 deletions
80
common/gui/hyprland.nix
Normal file
80
common/gui/hyprland.nix
Normal file
|
|
@ -0,0 +1,80 @@
|
|||
{
|
||||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
./common.nix
|
||||
./dbus.nix
|
||||
./pipewire.nix
|
||||
./wayland.nix
|
||||
./displayManager.nix
|
||||
./xdg.nix
|
||||
];
|
||||
|
||||
# Security
|
||||
security = {
|
||||
pam.services.swaylock = {
|
||||
text = ''
|
||||
auth include login
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
# Services
|
||||
services = {
|
||||
xserver = {
|
||||
enable = true;
|
||||
layout = "us";
|
||||
xkbVariant = "";
|
||||
excludePackages = [pkgs.xterm];
|
||||
# videoDrivers = ["amdgpu"];
|
||||
libinput = {
|
||||
enable = true;
|
||||
touchpad.tapping = true;
|
||||
touchpad.naturalScrolling = true;
|
||||
touchpad.scrollMethod = "twofinger";
|
||||
touchpad.disableWhileTyping = true;
|
||||
touchpad.clickMethod = "clickfinger";
|
||||
};
|
||||
};
|
||||
gvfs.enable = true;
|
||||
tumbler.enable = true;
|
||||
gnome = {
|
||||
sushi.enable = true;
|
||||
gnome-keyring.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
programs = {
|
||||
hyprland = {
|
||||
enable = true;
|
||||
package = inputs.hyprland.packages.${pkgs.system}.hyprland;
|
||||
xwayland = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
waybar = {
|
||||
enable = true;
|
||||
package = pkgs.waybar.overrideAttrs (oldAttrs: {
|
||||
mesonFlags = oldAttrs.mesonFlags ++ ["-Dexperimental=true"];
|
||||
});
|
||||
};
|
||||
thunar = {
|
||||
enable = true;
|
||||
plugins = with pkgs.xfce; [
|
||||
thunar-archive-plugin
|
||||
thunar-volman
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
libva-utils
|
||||
gsettings-desktop-schemas
|
||||
];
|
||||
environment.sessionVariables = {
|
||||
XDG_CURRENT_DESKTOP = "Hyprland";
|
||||
XDG_SESSION_DESKTOP = "Hyprland";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue