added template module file and added beginnings of theme derivations
This commit is contained in:
parent
ee897de22a
commit
9a69550389
3 changed files with 50 additions and 5 deletions
|
|
@ -1,6 +1,12 @@
|
||||||
{ config, pkgs, lib, ... }:
|
{ config, pkgs, lib, ... }:
|
||||||
|
|
||||||
{
|
## Base desktop theme
|
||||||
|
let
|
||||||
|
|
||||||
|
serenityos-base = import ./serenityos-base.nix { inherit pkgs; };
|
||||||
|
line-icons = import ./line-icons.nix { inherit pkgs; };
|
||||||
|
|
||||||
|
in {
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
|
|
||||||
|
|
@ -22,9 +28,7 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
xdg = {
|
xdg = {
|
||||||
mime = {
|
mime = { enable = true; };
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
mimeApps = {
|
mimeApps = {
|
||||||
enable = true;
|
enable = true;
|
||||||
#associations.added = associations;
|
#associations.added = associations;
|
||||||
|
|
@ -78,14 +82,18 @@
|
||||||
theme = lib.mkForce {
|
theme = lib.mkForce {
|
||||||
name = "Colloid-Dark";
|
name = "Colloid-Dark";
|
||||||
package = pkgs.colloid-gtk-theme;
|
package = pkgs.colloid-gtk-theme;
|
||||||
|
#name = "serenityos-base";
|
||||||
|
#package = pkgs.serenityos-base;
|
||||||
};
|
};
|
||||||
font = {
|
font = {
|
||||||
name = "${config.theme.font}";
|
name = "${config.theme.font}";
|
||||||
size = 10;
|
size = 10;
|
||||||
};
|
};
|
||||||
iconTheme = {
|
iconTheme = {
|
||||||
package = pkgs.flat-remix-icon-theme;
|
|
||||||
name = "Flat-Remix-Grey-Darkest";
|
name = "Flat-Remix-Grey-Darkest";
|
||||||
|
package = pkgs.flat-remiox-icon-theme;
|
||||||
|
#name = "line-icons";
|
||||||
|
#package = pkgs.line-icons;
|
||||||
};
|
};
|
||||||
gtk3.extraConfig = { gtk-application-prefer-dark-theme = 1; };
|
gtk3.extraConfig = { gtk-application-prefer-dark-theme = 1; };
|
||||||
gtk4.extraConfig = { gtk-application-prefer-dark-theme = 1; };
|
gtk4.extraConfig = { gtk-application-prefer-dark-theme = 1; };
|
||||||
|
|
@ -103,6 +111,11 @@
|
||||||
|
|
||||||
home = {
|
home = {
|
||||||
|
|
||||||
|
file = {
|
||||||
|
".icons/bibata".source =
|
||||||
|
"${pkgs.bibata-cursors}/share/icons/Bibata-Modern-Classic";
|
||||||
|
};
|
||||||
|
|
||||||
pointerCursor = {
|
pointerCursor = {
|
||||||
gtk.enable = true;
|
gtk.enable = true;
|
||||||
package = pkgs.bibata-cursors;
|
package = pkgs.bibata-cursors;
|
||||||
|
|
|
||||||
16
home/desktop/line-icons.nix
Normal file
16
home/desktop/line-icons.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
{ pkgs }:
|
||||||
|
|
||||||
|
pkgs.stdenv.mkDerivation {
|
||||||
|
name = "line-icons";
|
||||||
|
|
||||||
|
src = pkgs.fetchurl {
|
||||||
|
url = "";
|
||||||
|
hash = "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=";
|
||||||
|
};
|
||||||
|
|
||||||
|
dontUnpack = true;
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out
|
||||||
|
${pkgs.unzip}/bin/unzip $src -d $out/
|
||||||
|
'';
|
||||||
|
}
|
||||||
16
home/desktop/serenityos-base.nix
Normal file
16
home/desktop/serenityos-base.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
{ pkgs }:
|
||||||
|
|
||||||
|
pkgs.stdenv.mkDerivation {
|
||||||
|
name = "serenityos-base";
|
||||||
|
|
||||||
|
src = pkgs.fetchurl {
|
||||||
|
url = "";
|
||||||
|
hash = "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=";
|
||||||
|
};
|
||||||
|
|
||||||
|
dontUnpack = true;
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out
|
||||||
|
${pkgs.unzip}/bin/unzip $src -d $out/
|
||||||
|
'';
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue