Add krita and misc packages, add GTK theme
This commit is contained in:
parent
ec6de6168c
commit
70ff766580
4 changed files with 40 additions and 1 deletions
2
dotfiles
2
dotfiles
|
@ -1 +1 @@
|
||||||
Subproject commit 15176854c7af45b5c962d4c8ad3784d906628938
|
Subproject commit 765108b686ed92304d2c344760af039927531538
|
|
@ -10,6 +10,8 @@ let
|
||||||
-b 'Poweroff' 'systemctl poweroff' \
|
-b 'Poweroff' 'systemctl poweroff' \
|
||||||
-b 'Reboot' 'systemctl reboot'
|
-b 'Reboot' 'systemctl reboot'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
unstable = import <nixos-unstable> { config = { allowUnfree = true; }; };
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
# packages and other environment stuff
|
# packages and other environment stuff
|
||||||
|
@ -233,4 +235,17 @@ in
|
||||||
serviceConfig.ExecStart = "/run/current-system/sw/bin/bash -c 'while true; do /run/current-system/sw/bin/evdev-joystick --e /dev/input/by-id/usb-ShanWan_Xbox360_For_Windows_10F36D6-event-joystick --minimum -32767 --maximum 0 --a 3; /run/current-system/sw/bin/evdev-joystick --e /dev/input/by-id/usb-ShanWan_Xbox360_For_Windows_10F36D6-event-joystick --minimum 0 --maximum 32767 --a 4; sleep 5; done'";
|
serviceConfig.ExecStart = "/run/current-system/sw/bin/bash -c 'while true; do /run/current-system/sw/bin/evdev-joystick --e /dev/input/by-id/usb-ShanWan_Xbox360_For_Windows_10F36D6-event-joystick --minimum -32767 --maximum 0 --a 3; /run/current-system/sw/bin/evdev-joystick --e /dev/input/by-id/usb-ShanWan_Xbox360_For_Windows_10F36D6-event-joystick --minimum 0 --maximum 32767 --a 4; sleep 5; done'";
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# enable the nix command
|
||||||
|
nix.settings.experimental-features = [ "nix-command" ];
|
||||||
|
|
||||||
|
# optimize the nix store
|
||||||
|
#nix.optimise.automatic = true;
|
||||||
|
nix.settings.auto-optimise-store = true;
|
||||||
|
|
||||||
|
nix.gc = {
|
||||||
|
automatic = true;
|
||||||
|
dates = "daily";
|
||||||
|
options = "--delete-older-than 2d";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,4 +20,24 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
gtk = {
|
||||||
|
enable = true;
|
||||||
|
theme = {
|
||||||
|
name = "Catppuccin-Mocha-Compact-Mauve-Dark";
|
||||||
|
package = pkgs.catppuccin-gtk.override {
|
||||||
|
accents = [ "mauve" ];
|
||||||
|
size = "compact";
|
||||||
|
tweaks = [ "normal" ];
|
||||||
|
variant = "mocha";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
# Now symlink the `~/.config/gtk-4.0/` folder declaratively:
|
||||||
|
xdg.configFile = {
|
||||||
|
"gtk-4.0/assets".source = "${config.gtk.theme.package}/share/themes/${config.gtk.theme.name}/gtk-4.0/assets";
|
||||||
|
"gtk-4.0/gtk.css".source = "${config.gtk.theme.package}/share/themes/${config.gtk.theme.name}/gtk-4.0/gtk.css";
|
||||||
|
"gtk-4.0/gtk-dark.css".source = "${config.gtk.theme.package}/share/themes/${config.gtk.theme.name}/gtk-4.0/gtk-dark.css";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -78,5 +78,9 @@ in
|
||||||
pkgs.libreoffice-qt
|
pkgs.libreoffice-qt
|
||||||
pkgs.mosh
|
pkgs.mosh
|
||||||
pkgs.iperf3
|
pkgs.iperf3
|
||||||
|
pkgs.zip
|
||||||
|
pkgs.p7zip
|
||||||
|
pkgs.krita
|
||||||
|
pkgs.usbutils
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue