Initial commit
This commit is contained in:
commit
618e461e13
13 changed files with 461 additions and 0 deletions
34
desktop/gnome.nix
Normal file
34
desktop/gnome.nix
Normal file
|
@ -0,0 +1,34 @@
|
|||
{lib, config, pkgs, ...}:
|
||||
|
||||
let
|
||||
unstable = import <nixos-unstable> {};
|
||||
in
|
||||
{
|
||||
config = {
|
||||
services.xserver.enable = true;
|
||||
services.xserver.desktopManager.gnome.enable = true;
|
||||
services.xserver.displayManager.gdm = {
|
||||
enable = true;
|
||||
wayland = false;
|
||||
autoSuspend = false;
|
||||
};
|
||||
|
||||
# environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
||||
|
||||
services.xserver.desktopManager.gnome.extraGSettingsOverrides = ''
|
||||
[org.gnome.SessionManager]
|
||||
logout-prompt=false
|
||||
'';
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
gnomeExtensions.pop-shell
|
||||
gnomeExtensions.vitals
|
||||
gnomeExtensions.tray-icons-reloaded
|
||||
gnomeExtensions.color-picker
|
||||
gnomeExtensions.top-bar-organizer
|
||||
# unstable.gnomeExtensions.translate-indicator
|
||||
# translate-shell
|
||||
pavucontrol
|
||||
];
|
||||
};
|
||||
}
|
17
desktop/kde-plasma.nix
Normal file
17
desktop/kde-plasma.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
{lib, config, pkgs, ...}:
|
||||
|
||||
{
|
||||
config = {
|
||||
services.xserver.enable = true;
|
||||
services.xserver.desktopManager.plasma5.enable = true;
|
||||
services.xserver.displayManager.sddm.enable = true;
|
||||
|
||||
# environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
libsForQt5.plasma-browser-integration
|
||||
translate-shell
|
||||
pavucontrol
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue