mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-26 08:25:37 +00:00
417623965e
also change theme to colorscheme
38 lines
751 B
Nix
38 lines
751 B
Nix
{ config, pkgs, lib, ... }: {
|
|
|
|
config = lib.mkIf config.gui.enable {
|
|
|
|
# Enable the X11 windowing system.
|
|
services.xserver = {
|
|
enable = config.gui.enable;
|
|
|
|
# Enable touchpad support
|
|
libinput.enable = true;
|
|
|
|
# Login screen
|
|
displayManager = {
|
|
lightdm = {
|
|
enable = config.services.xserver.enable;
|
|
|
|
# Make the login screen dark
|
|
greeters.gtk.theme.name = config.gui.gtkTheme;
|
|
|
|
};
|
|
};
|
|
|
|
};
|
|
|
|
environment.systemPackages = with pkgs;
|
|
[
|
|
xclip # Clipboard
|
|
];
|
|
|
|
home-manager.users.${config.user}.programs.fish.shellAliases = {
|
|
pbcopy = "xclip -selection clipboard -in";
|
|
pbpaste = "xclip -selection clipboard -out";
|
|
};
|
|
|
|
};
|
|
|
|
}
|