chore: nix fmt
This commit is contained in:
parent
a80bd4ed3b
commit
7266fff06e
128 changed files with 3402 additions and 2013 deletions
|
@ -1,9 +1,14 @@
|
|||
{ pkgs
|
||||
, lib
|
||||
, config
|
||||
, ... }: with lib; let
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
let
|
||||
catppuccin = config.passthrough.catppuccin.enable;
|
||||
in {
|
||||
in
|
||||
{
|
||||
config = mkIf config.passthrough.gui {
|
||||
# cursor theme
|
||||
home.pointerCursor = {
|
||||
|
|
|
@ -1,10 +1,15 @@
|
|||
{ pkgs
|
||||
, lib
|
||||
, config
|
||||
, ... }: with lib; let
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
let
|
||||
gui = with config.global.gpu; enable && session;
|
||||
catppuccin = config.home.catppuccin;
|
||||
in {
|
||||
in
|
||||
{
|
||||
config = {
|
||||
users.homeModules = [
|
||||
# this module passes gui configuration to home-manager
|
||||
|
@ -13,13 +18,18 @@ in {
|
|||
users.adminGroups = mkIf gui [ "video" ];
|
||||
|
||||
# themes and icons
|
||||
environment.systemPackages = with pkgs; mkIf gui ([
|
||||
papirus-icon-theme
|
||||
] ++ optionals (!catppuccin.enable) [
|
||||
whitesur-gtk-theme
|
||||
whitesur-icon-theme
|
||||
bibata-cursors
|
||||
]);
|
||||
environment.systemPackages =
|
||||
with pkgs;
|
||||
mkIf gui (
|
||||
[
|
||||
papirus-icon-theme
|
||||
]
|
||||
++ optionals (!catppuccin.enable) [
|
||||
whitesur-gtk-theme
|
||||
whitesur-icon-theme
|
||||
bibata-cursors
|
||||
]
|
||||
);
|
||||
|
||||
fonts.enableDefaultPackages = mkIf gui true;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue