prep migration to plasma6
This commit is contained in:
parent
d48b294ba8
commit
446e8db3fa
4 changed files with 61 additions and 16 deletions
|
@ -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
9
nixos/kde/default.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
imports = [./system.nix];
|
||||
|
||||
home-manager.users.cyryl = {...}: {imports = [./home.nix];};
|
||||
}
|
10
nixos/kde/home.nix
Normal file
10
nixos/kde/home.nix
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
services = {};
|
||||
|
||||
home.packages = [];
|
||||
dconf.settings = {};
|
||||
}
|
42
nixos/kde/system.nix
Normal file
42
nixos/kde/system.nix
Normal 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; [];
|
||||
}
|
Loading…
Reference in a new issue