Add KDE and set it as the default on the workstation host

Note: The kde configuration is currently incomplete. It's still missing
some configuration using the plasma-manager flake. I'm going to get
plasma working first and then worry about the small configuration
details.
This commit is contained in:
caem 2024-08-28 18:21:04 +02:00
parent 950d488894
commit 654cde2a3a
Signed by: caem
GPG key ID: 69A830D03203405F
6 changed files with 131 additions and 23 deletions

View file

@ -9,28 +9,41 @@
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
plasma-manager = {
url = "github:nix-community/plasma-manager";
inputs.nixpkgs.follows = "nixpkgs";
inputs.home-manager.follows = "home-manager";
};
};
outputs = { nixpkgs, impermanence, home-manager, nur, ... } @ inputs:
let
lib = nixpkgs.lib.extend (final: prev:
import ./lib { lib = final; }
);
in
{
nixosConfigurations = lib.mkHosts {
modules = [
home-manager.nixosModules.home-manager {
home-manager.sharedModules = [
nur.hmModules.nur
];
}
impermanence.nixosModules.impermanence
nur.nixosModules.nur
];
nixpkgs = nixpkgs;
inputs = inputs;
};
outputs = {
nixpkgs,
impermanence,
home-manager,
nur,
plasma-manager,
...
} @ inputs: let
lib = nixpkgs.lib.extend (final: prev:
import ./lib { lib = final; }
);
in {
nixosConfigurations = lib.mkHosts {
modules = [
home-manager.nixosModules.home-manager {
home-manager.sharedModules = [
nur.hmModules.nur
plasma-manager.homeManagerModules.plasma-manager
];
}
impermanence.nixosModules.impermanence
nur.nixosModules.nur
];
nixpkgs = nixpkgs;
inputs = inputs;
};
};
}