nixos/cosmic: provide configuration defaults
This commit is contained in:
parent
fbf078d336
commit
8b6f8474a4
32 changed files with 128 additions and 0 deletions
|
@ -1,5 +1,22 @@
|
|||
{ inputs, lib, pkgs, ... }:
|
||||
|
||||
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
|
||||
|
||||
{
|
||||
imports = [
|
||||
"${inputs.cosmic-modules}/nixos/cosmic/module.nix"
|
||||
|
@ -13,6 +30,7 @@
|
|||
];
|
||||
environment.systemPackages = with pkgs; [
|
||||
pavucontrol
|
||||
(lib.hiPrio cosmic-configuration.share)
|
||||
];
|
||||
services.gnome.gnome-keyring.enable = true;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue