2024-08-08 07:14:07 +02:00
|
|
|
{ inputs, lib, pkgs, ... }:
|
2024-03-08 09:06:58 +01:00
|
|
|
|
2024-10-10 02:31:33 +02:00
|
|
|
let
|
|
|
|
cosmic-configuration = pkgs.substituteAllFiles {
|
|
|
|
name = "cosmic-configuration";
|
|
|
|
src = ./cosmic-config;
|
|
|
|
files = [ "." ]; # All files
|
|
|
|
postInstall = ''
|
|
|
|
mkdir -p $share/share/cosmic
|
|
|
|
cp -rt $share/share/cosmic $out/*
|
|
|
|
'';
|
|
|
|
outputs = [ "out" "share" ];
|
|
|
|
|
|
|
|
wallpaper = ../../media/wallpaper.png;
|
|
|
|
corner_radii_theme = "2.0";
|
|
|
|
corner_radii_panel = "2";
|
|
|
|
};
|
|
|
|
in
|
|
|
|
|
2024-03-08 09:06:58 +01:00
|
|
|
{
|
|
|
|
imports = [
|
2024-08-08 07:14:07 +02:00
|
|
|
"${inputs.cosmic-modules}/nixos/cosmic/module.nix"
|
2024-03-08 09:06:58 +01:00
|
|
|
];
|
|
|
|
config = {
|
2024-04-19 22:51:28 +02:00
|
|
|
services.desktopManager.cosmic.enable = true;
|
2024-08-16 17:00:49 +02:00
|
|
|
environment.cosmic.excludePackages = with pkgs; [
|
|
|
|
cosmic-edit
|
|
|
|
cosmic-term
|
|
|
|
];
|
2024-10-02 18:32:05 +02:00
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
pavucontrol
|
2024-10-10 02:31:33 +02:00
|
|
|
(lib.hiPrio cosmic-configuration.share)
|
2024-10-02 18:32:05 +02:00
|
|
|
];
|
2024-10-02 23:56:34 +02:00
|
|
|
services.gnome.gnome-keyring.enable = true;
|
2024-03-08 09:06:58 +01:00
|
|
|
};
|
|
|
|
}
|