nh
This commit is contained in:
parent
312d6d63ef
commit
96e5924fb0
17 changed files with 126 additions and 43 deletions
14
system/desktop/cosmic.nix
Normal file
14
system/desktop/cosmic.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{ lib, ... }:
|
||||
|
||||
{
|
||||
services.desktopManager.cosmic.enable = true;
|
||||
services.displayManager.cosmic-greeter.enable = true;
|
||||
|
||||
services.system76-scheduler.enable = true;
|
||||
|
||||
services.gnome.gnome-keyring.enable = lib.mkForce false;
|
||||
|
||||
programs.firefox.preferences = {
|
||||
"widget.gtk.libadwaita-colors.enabled" = false;
|
||||
};
|
||||
}
|
||||
|
|
@ -51,4 +51,9 @@
|
|||
programs.virt-manager.enable = true;
|
||||
programs.dconf.enable = true;
|
||||
|
||||
programs.gnupg.agent = {
|
||||
enable = true;
|
||||
pinentryPackage = pkgs.pinentry-all;
|
||||
# pinentry.program = "pinentry";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,10 +4,10 @@
|
|||
{
|
||||
services.desktopManager.gnome.enable = true;
|
||||
|
||||
services.displayManager = {
|
||||
gdm.enable = true;
|
||||
defaultSession = "gnome";
|
||||
};
|
||||
# services.displayManager = {
|
||||
# gdm.enable = true;
|
||||
# defaultSession = "gnome";
|
||||
# };
|
||||
|
||||
environment.gnome.excludePackages = with pkgs; [
|
||||
gnome-tour
|
||||
|
|
|
|||
29
system/desktop/hyprland.nix
Normal file
29
system/desktop/hyprland.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
|
||||
programs.hyprland = {
|
||||
enable = true;
|
||||
withUWSM = true;
|
||||
# xwayland.enable = true;
|
||||
};
|
||||
|
||||
# programs.regreet = {
|
||||
# enable = true;
|
||||
# # For this example you'd need to have a version of Adwaita and the font Cantarell installed
|
||||
# theme.name = "Adwaita";
|
||||
# font = {
|
||||
# name = "Cantarell";
|
||||
# size = 16;
|
||||
# };
|
||||
# cursorTheme.name = "Adwaita";
|
||||
# };
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
ashell
|
||||
kitty
|
||||
mako
|
||||
tofi
|
||||
];
|
||||
|
||||
}
|
||||
18
system/desktop/plasma.nix
Normal file
18
system/desktop/plasma.nix
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
services.desktopManager.plasma6.enable = true;
|
||||
|
||||
programs.kdeconnect.enable = true;
|
||||
|
||||
networking.firewall = rec {
|
||||
allowedTCPPortRanges = [ { from = 1714; to = 1764; } ];
|
||||
allowedUDPPortRanges = allowedTCPPortRanges;
|
||||
};
|
||||
|
||||
services.displayManager.sddm = {
|
||||
enable = true;
|
||||
wayland.enable = true;
|
||||
settings.General.DisplayServer = "wayland";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue