initial commit
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
{ lib, ... }:
|
||||
{
|
||||
services.flatpak = {
|
||||
enable = true;
|
||||
|
||||
update.auto = {
|
||||
enable = true;
|
||||
onCalendar = "weekly";
|
||||
};
|
||||
|
||||
remotes = lib.mkOptionDefault [
|
||||
{
|
||||
name = "flathub";
|
||||
location = "https://dl.flathub.org/repo/flathub.flatpakrepo";
|
||||
}
|
||||
{
|
||||
name = "flathub-beta";
|
||||
location = "https://dl.flathub.org/beta-repo/flathub-beta.flatpakrepo";
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
{
|
||||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
unstable = inputs.nixpkgs-unstable.legacyPackages.${pkgs.stdenv.hostPlatform.system};
|
||||
|
||||
kde-overlay = _final: _prev: {
|
||||
inherit (unstable) kdePackages;
|
||||
};
|
||||
|
||||
in
|
||||
{
|
||||
nixpkgs.overlays = [
|
||||
kde-overlay
|
||||
];
|
||||
|
||||
services = {
|
||||
displayManager.plasma-login-manager.enable = true;
|
||||
desktopManager.plasma6.enable = true;
|
||||
};
|
||||
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
extraPortals = with pkgs; [ kdePackages.xdg-desktop-portal-kde ];
|
||||
};
|
||||
|
||||
environment = {
|
||||
plasma6.excludePackages = with pkgs.kdePackages; [
|
||||
plasma-browser-integration
|
||||
elisa
|
||||
discover
|
||||
gwenview
|
||||
okular
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user