mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-23 01:05:38 +00:00
35 lines
610 B
Nix
35 lines
610 B
Nix
{ pkgs, user, gui, gtkTheme, ... }: {
|
|
|
|
# Enable the X11 windowing system.
|
|
services.xserver = {
|
|
enable = gui;
|
|
|
|
# Enable touchpad support
|
|
libinput.enable = true;
|
|
|
|
# Login screen
|
|
displayManager = {
|
|
lightdm = {
|
|
enable = gui;
|
|
|
|
# Make the login screen dark
|
|
greeters.gtk.theme.name = gtkTheme;
|
|
|
|
};
|
|
};
|
|
|
|
};
|
|
|
|
environment.systemPackages = with pkgs;
|
|
[
|
|
xclip # Clipboard
|
|
];
|
|
|
|
home-manager.users.${user}.programs.fish.shellAliases = {
|
|
pbcopy = "xclip -selection clipboard -in";
|
|
pbpaste = "xclip -selection clipboard -out";
|
|
};
|
|
|
|
}
|
|
|