Added GDM
This commit is contained in:
parent
3ae7a5e8d4
commit
750ca2f3a8
|
@ -60,7 +60,8 @@ in
|
|||
fontconfig.enable = true;
|
||||
neovim.enable = true;
|
||||
systemd-boot.enable = true;
|
||||
tuigreet.enable = true; # TODO: Re-enable
|
||||
gdm.enable = true;
|
||||
tuigreet.enable = false; # TODO: Re-enable
|
||||
};
|
||||
|
||||
# TODO: Remove everything below, it is here out of convenience and should be elsewhere
|
||||
|
|
|
@ -17,6 +17,7 @@ with lib;
|
|||
./brightnessctl/default.nix
|
||||
./fontconfig/default.nix
|
||||
./graphics/default.nix
|
||||
./greeter/gdm/default.nix
|
||||
./greeter/greetd/default.nix
|
||||
./greeter/greetd/tuigreet.nix
|
||||
./locale/default.nix
|
||||
|
|
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
with lib;
|
||||
let
|
||||
cfg = config.modules.gdm;
|
||||
in
|
||||
{
|
||||
options.modules.gdm = {
|
||||
enable = mkEnableOption "gdm";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
services.xserver = {
|
||||
enable = true;
|
||||
displayManager.gdm.enable = true;
|
||||
displayManager.gdm.wayland = true;
|
||||
libinput.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
|
@ -23,7 +23,7 @@ in
|
|||
|
||||
policies = {
|
||||
AppAutoUpdate = false;
|
||||
BlockAboutAddons = true;
|
||||
BlockAboutAddons = false;
|
||||
BlockAboutConfig = true;
|
||||
BlockAboutProfiles = true;
|
||||
DisableAppUpdate = true;
|
||||
|
@ -50,6 +50,7 @@ in
|
|||
|
||||
extensions = with pkgs.nur.repos.rycee.firefox-addons; [
|
||||
ublock-origin
|
||||
tridactyl # TODO: Add toggle for this extension?
|
||||
];
|
||||
|
||||
# Theming
|
||||
|
|
|
@ -23,7 +23,7 @@ in
|
|||
enable = true;
|
||||
|
||||
extraConfig = ''
|
||||
# config.set("completion.web_history.max_items", 30)
|
||||
config.set("completion.web_history.max_items", 256)
|
||||
config.set("colors.webpage.darkmode.enabled", False)
|
||||
config.set("colors.webpage.preferred_color_scheme", "${if theme.darkMode then "dark" else "light"}")
|
||||
config.set("fonts.default_family", "${theme.fonts.interface.name}")
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
theming.enable = true;
|
||||
|
||||
# Window manager
|
||||
i3.enable = true;
|
||||
i3.enable = false;
|
||||
river.enable = true;
|
||||
waylock.enable = true;
|
||||
waybar.enable = true;
|
||||
|
|
Loading…
Reference in New Issue