chore: move gtk and de-related things to specific dir, clean up statix

Signed-off-by: jolheiser <git@jolheiser.com>
homepage
jolheiser 2024-08-08 21:50:43 -05:00
parent 66bc4569a3
commit 9c02a69527
No known key found for this signature in database
7 changed files with 30 additions and 63 deletions

View File

@ -0,0 +1,27 @@
{ pkgs, ... }:
{
imports = [ ./gtk.nix ];
dconf.settings =
let
wallpaper = pkgs.fetchurl {
url = "https://user.fm/files/v2-3834da30df507c4ba97a551571e98e33/nixppuccin.png";
hash = "sha256-dwM+Wi2gse7Eu4f/suU2BsVACPHMfSaXYOpZPqx6/SQ=";
};
in
{
"org/cinnamon/desktop/background" = {
picture-uri = "file://${wallpaper}";
};
"org/cinnamon/desktop/interface" = {
font-name = "Monaspace Neon 10";
};
"org/cinnamon/desktop/wm/preferences" = {
titlebar-font = "Monaspace Neon Bold 10";
};
"org/gnome/desktop/interface" = {
document-font-name = "Monaspace Xenon 10";
monospace-font-name = "Monaspace Argon 10";
};
};
}

View File

@ -5,9 +5,7 @@
./firefox.nix
./flameshot.nix
./ghostty.nix
./gtk.nix
./spotify.nix
#./tiny.nix
./wezterm.nix
./zed.nix
];
@ -18,33 +16,10 @@
delve
discord
obsidian
spotify-player
# LSPs
marksman
nodePackages.yaml-language-server
];
};
dconf.settings =
let
wallpaper = pkgs.fetchurl {
url = "https://user.fm/files/v2-3834da30df507c4ba97a551571e98e33/nixppuccin.png";
hash = "sha256-dwM+Wi2gse7Eu4f/suU2BsVACPHMfSaXYOpZPqx6/SQ=";
};
in
{
"org/cinnamon/desktop/background" = {
picture-uri = "file://${wallpaper}";
};
"org/cinnamon/desktop/interface" = {
font-name = "Monaspace Neon 10";
};
"org/cinnamon/desktop/wm/preferences" = {
titlebar-font = "Monaspace Neon Bold 10";
};
"org/gnome/desktop/interface" = {
document-font-name = "Monaspace Xenon 10";
monospace-font-name = "Monaspace Argon 10";
};
};
}

View File

@ -1,5 +1,6 @@
{ pkgs, ... }:
{
home.packages = [ pkgs.spotify-player ];
xdg.configFile."spotify-player/theme.toml".text = builtins.readFile (
pkgs.fetchFromGitHub {
owner = "catppuccin";

View File

@ -1,36 +0,0 @@
{ config, ... }:
{
programs.tiny = {
enable = true;
settings = {
servers = [
{
addr = "irc.libera.chat";
port = 6697;
tls = true;
realname = "jolheiser";
nicks = [ "jolheiser" ];
alias = "LiberaChat";
join = [
"#gitea"
"#gitea-devel"
];
sasl = {
username = "jolheiser";
password = {
command = "cat ${config.age.secrets.irc-pw.path}";
};
};
}
];
defaults = {
nicks = [ "jolheiser" ];
realname = "jolheiser";
};
key_map = {
alt_left = "tab_prev";
alt_right = "tab_next";
};
};
};
}

View File

@ -69,6 +69,6 @@ in
difftastic = {
enable = true;
};
includes = [ { path = config.age.secrets.git-send-email.path; } ];
includes = [ { inherit (config.age.secrets.git-send-email) path; } ];
};
}

View File

@ -205,7 +205,7 @@
homeConfigurations = {
"jolheiser" = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
modules = homeManagerModules;
modules = homeManagerModules ++ [ ./apps/de ];
};
};
nixosConfigurations = {