Initial commit
This commit is contained in:
42
specialisations/default.nix
Normal file
42
specialisations/default.nix
Normal file
@@ -0,0 +1,42 @@
|
||||
{
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
services = {
|
||||
desktopManager = {
|
||||
plasma6.enable = true;
|
||||
};
|
||||
displayManager = {
|
||||
sddm = {
|
||||
enable = true;
|
||||
enableHidpi = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs.kdePackages; [
|
||||
yakuake
|
||||
spectacle
|
||||
elisa
|
||||
dolphin-plugins
|
||||
xwaylandvideobridge
|
||||
];
|
||||
|
||||
programs = {
|
||||
zsh.enable = true;
|
||||
kdeconnect.enable = true;
|
||||
kde-pim.enable = false;
|
||||
};
|
||||
|
||||
xdg.portal.config.common = {
|
||||
default = lib.mkDefault [
|
||||
"kde"
|
||||
];
|
||||
};
|
||||
|
||||
xdg.portal.extraPortals = lib.mkDefault [
|
||||
pkgs.kdePackages.xdg-desktop-portal-kde
|
||||
];
|
||||
}
|
||||
61
specialisations/gnome.nix
Normal file
61
specialisations/gnome.nix
Normal file
@@ -0,0 +1,61 @@
|
||||
{ pkgs, lib, ... }:
|
||||
{
|
||||
specialisation.gnome.configuration = {
|
||||
system.nixos.tags = [ "gnome" ];
|
||||
services = {
|
||||
displayManager = {
|
||||
defaultSession = lib.mkForce "gnome";
|
||||
sddm.enable = lib.mkForce false;
|
||||
|
||||
gdm = {
|
||||
enable = true;
|
||||
wayland = true;
|
||||
autoSuspend = true;
|
||||
banner = ''
|
||||
Оставь надежду
|
||||
Всяк сюда входящий
|
||||
'';
|
||||
};
|
||||
};
|
||||
desktopManager = {
|
||||
plasma6.enable = lib.mkForce false;
|
||||
gnome.enable = true;
|
||||
};
|
||||
|
||||
hardware.bolt.enable = true;
|
||||
gnome = {
|
||||
core-os-services.enable = true;
|
||||
gnome-keyring.enable = true;
|
||||
gnome-settings-daemon.enable = true;
|
||||
core-shell.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
programs.evolution = {
|
||||
enable = true;
|
||||
plugins = [ pkgs.evolution-ews ];
|
||||
};
|
||||
|
||||
environment = {
|
||||
variables = {
|
||||
XCURSOR_THEME = "Adwaita";
|
||||
};
|
||||
gnome.excludePackages = with pkgs; [
|
||||
geary
|
||||
epiphany
|
||||
gnome-calendar
|
||||
];
|
||||
};
|
||||
|
||||
xdg.portal = {
|
||||
config.common = {
|
||||
default = lib.mkForce [
|
||||
"gnome"
|
||||
];
|
||||
};
|
||||
extraPortals = lib.mkForce [
|
||||
pkgs.kdePackages.xdg-desktop-portal-kde
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user