changes
This commit is contained in:
@@ -23,10 +23,71 @@ in {
|
||||
runUsingSystemd = true;
|
||||
supportDDC = true;
|
||||
mobile.enable = cfg.mobile.enable;
|
||||
|
||||
/*
|
||||
kdeglobals = lib.mkIf cfg.mobile.enable {
|
||||
KDE = {
|
||||
StartDragDist = "10";
|
||||
LookAndFeelPackage = "org.kde.plasma.phone";
|
||||
};
|
||||
|
||||
Icons = {
|
||||
Theme = "breeze";
|
||||
};
|
||||
|
||||
General = {
|
||||
ColorScheme = "breeze";
|
||||
Name = "breeze";
|
||||
XftHintStyle = "none";
|
||||
XftSubPixel = "none";
|
||||
shadeSortColumn = "true";
|
||||
};
|
||||
};
|
||||
|
||||
kwinrc = {
|
||||
Plugins = {
|
||||
"org.kde.phone.multitaskingEnabled" = "false";
|
||||
"kwin4_effect_eyeonscreenEnabled" = "false";
|
||||
"kwin4_effect_windowapertureEnabled" = "false";
|
||||
blurEnabled = "false";
|
||||
contrastEnabled = "false";
|
||||
};
|
||||
|
||||
Windows = {
|
||||
Placement = "Maximizing";
|
||||
};
|
||||
|
||||
TabBox = {
|
||||
TouchBorderActive = "9";
|
||||
TouchBorderAlternativeActive = "9";
|
||||
BorderActivate = "9";
|
||||
};
|
||||
|
||||
"Effect-PresentWindows" = {
|
||||
BorderActivateAll = "9";
|
||||
};
|
||||
|
||||
"org.kde.kdecoration2" = {
|
||||
NoPlugin = "true";
|
||||
};
|
||||
|
||||
TouchEdges = {
|
||||
Left = "None";
|
||||
Right = "None";
|
||||
};
|
||||
|
||||
Wayland = {
|
||||
InputMethod = "${pkgs.maliit-keyboard}/usr/share/applications/com.github.maliit.keyboard.desktop";
|
||||
};
|
||||
};
|
||||
*/
|
||||
};
|
||||
|
||||
# See https://github.com/NixOS/nixpkgs/commit/a506f9c79700255c215dddb53455d5e2bed6c1af
|
||||
displayManager.defaultSession = lib.mkIf cfg.wayland.enable "plasmawayland";
|
||||
displayManager = {
|
||||
defaultSession = lib.mkIf cfg.wayland.enable "plasmawayland";
|
||||
#sessionPackages = lib.mkIf cfg.mobile.enable [ pkgs.libsForQt5.plasma5.plasma-mobile ];
|
||||
};
|
||||
};
|
||||
|
||||
xdg.portal = {
|
||||
@@ -35,6 +96,13 @@ in {
|
||||
};
|
||||
|
||||
environment.systemPackages = let
|
||||
/*plasmaMobilePackages = with pkgs.libsForQt5; with plasma5; with kdeApplications; with kdeFrameworks; [
|
||||
plasma-mobile
|
||||
plasma-nano
|
||||
pkgs.maliit-framework
|
||||
pkgs.maliit-keyboard
|
||||
];*/
|
||||
plasmaMobilePackages = [];
|
||||
kdePackages = with pkgs.libsForQt5; [
|
||||
okular
|
||||
kdeconnect-kde
|
||||
@@ -42,13 +110,14 @@ in {
|
||||
bismuth
|
||||
gwenview
|
||||
yakuake
|
||||
];
|
||||
] ++ lib.optionals cfg.mobile.enable plasmaMobilePackages;
|
||||
packages = with pkgs; [
|
||||
kde-rounded-corners
|
||||
#kde-rounded-corners
|
||||
index-fm
|
||||
rsibreak
|
||||
kalendar
|
||||
kate
|
||||
okular
|
||||
|
||||
# Some Gnome software
|
||||
gnome.totem
|
||||
|
||||
@@ -4,13 +4,14 @@
|
||||
config = lib.mkIf (config.ptw.system.singleUser == "alexander") {
|
||||
users.users.alexander = {
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "wheel" "audio" "video" "kvm" "input" "libvirtd" "scanner" "lp" ];
|
||||
extraGroups = [ "wheel" "audio" "video" "kvm" "input" "libvirtd" "scanner" "lp" "alexander" ];
|
||||
hashedPassword = "$5$i4aZuQ/WXP.rFOc$lCzDqbrVsqBQt5954O.3bFPknD0jn27MmqzmE4DIAEC";
|
||||
shell = pkgs.zsh;
|
||||
useDefaultShell = false;
|
||||
uid = 1000;
|
||||
isSystemUser = false;
|
||||
};
|
||||
users.groups.alexander = {};
|
||||
|
||||
# Activate gpg
|
||||
programs.gnupg.agent.enable = true;
|
||||
|
||||
Reference in New Issue
Block a user