prep migration to plasma6

This commit is contained in:
Cyryl Płotnicki 2024-03-05 08:53:23 +00:00
parent d48b294ba8
commit 446e8db3fa
4 changed files with 61 additions and 16 deletions

View file

@ -1,16 +0,0 @@
{
config,
pkgs,
...
}: {
services.xserver = {
enable = true;
displayManager.sddm = {
enable = true;
enableHidpi = true;
};
desktopManager.default = "plasma5";
desktopManager.plasma5.enable = true;
};
users.users.cyryl.packages = with pkgs; [];
}

9
nixos/kde/default.nix Normal file
View file

@ -0,0 +1,9 @@
{
config,
pkgs,
...
}: {
imports = [./system.nix];
home-manager.users.cyryl = {...}: {imports = [./home.nix];};
}

10
nixos/kde/home.nix Normal file
View file

@ -0,0 +1,10 @@
{
config,
pkgs,
...
}: {
services = {};
home.packages = [];
dconf.settings = {};
}

42
nixos/kde/system.nix Normal file
View file

@ -0,0 +1,42 @@
{
config,
pkgs,
inputs,
system,
...
}: let
master = inputs.nixpkgs-master;
pkgs = master.legacyPackages."${system}";
lib = pkgs.lib;
utils = pkgs.utils;
in {
disabledModules = [
"services/x11/desktop-managers.plasma5.nix"
"programs/chromium.nix"
];
imports = [
({
pkgs,
lib,
config,
utils,
...
}:
import "${master}/nixos/modules/services/x11/desktop-managers/plasma6.nix" {
inherit pkgs lib config utils;
})
"${master}/nixos/modules/programs/chromium.nix"
];
services.flatpak.enable = true;
services.xserver = {
enable = true;
displayManager.sddm = {
enable = true;
enableHidpi = true;
};
desktopManager.plasma6.enable = true;
};
users.users.cyryl.packages = with pkgs; [];
}