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
80 lines
1.6 KiB
Nix
80 lines
1.6 KiB
Nix
{
|
|
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";
|
|
};
|
|
}
|