refactor
This commit is contained in:
12
workstation/default.nix
Normal file
12
workstation/default.nix
Normal file
@@ -0,0 +1,12 @@
|
||||
{ ... }:
|
||||
|
||||
let
|
||||
files = builtins.removeAttrs (builtins.readDir ./.) [ "default.nix" ];
|
||||
|
||||
# Import all other .nix files as modules
|
||||
moduleFiles = builtins.map (fname: ./. + "/${fname}") (builtins.attrNames files);
|
||||
in
|
||||
{
|
||||
# Import all the package modules
|
||||
imports = moduleFiles;
|
||||
}
|
||||
11
workstation/fonts.nix
Normal file
11
workstation/fonts.nix
Normal file
@@ -0,0 +1,11 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
fonts.fontconfig.enable = true;
|
||||
home.packages = [
|
||||
pkgs.nerd-fonts.hack
|
||||
pkgs.nerd-fonts.fira-code
|
||||
pkgs.nerd-fonts.fira-mono
|
||||
pkgs.nerd-fonts.meslo-lg
|
||||
pkgs.nerd-fonts.droid-sans-mono
|
||||
];
|
||||
}
|
||||
31
workstation/gtk-theme.nix
Normal file
31
workstation/gtk-theme.nix
Normal file
@@ -0,0 +1,31 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
# GTK Theme
|
||||
gtk = {
|
||||
enable = true;
|
||||
|
||||
iconTheme = {
|
||||
name = "Yaru";
|
||||
};
|
||||
|
||||
theme = {
|
||||
name = "Yaru-dark";
|
||||
};
|
||||
|
||||
cursorTheme = {
|
||||
name = "Yaru";
|
||||
};
|
||||
|
||||
gtk3.extraConfig = {
|
||||
Settings = ''
|
||||
gtk-application-prefer-dark-theme=1
|
||||
'';
|
||||
};
|
||||
|
||||
gtk4.extraConfig = {
|
||||
Settings = ''
|
||||
gtk-application-prefer-dark-theme=1
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user