feat(nix): add NUR

This commit is contained in:
matt1432 2023-10-08 14:42:43 -04:00
parent 2a11856b8a
commit 6a425d6ac1
3 changed files with 35 additions and 31 deletions

Binary file not shown.

View file

@ -1,4 +1,4 @@
{ home-manager, ... }: { home-manager, nur, ... }:
{ {
## Global config to add home-manager module ## Global config to add home-manager module
@ -19,6 +19,7 @@
home-manager.users.matt = { home-manager.users.matt = {
imports = [ imports = [
nur.hmModules.nur
./dconf.nix ./dconf.nix
./theme.nix ./theme.nix
./hyprland.nix ./hyprland.nix

View file

@ -1,4 +1,4 @@
{ pkgs, ... }: { pkgs, config, ... }:
{ {
programs = { programs = {
@ -24,40 +24,43 @@
}; };
}; };
home.packages = with pkgs; home.packages = (with pkgs.python311Packages; [
(with python311Packages; [ python
python pyclip
pyclip ]) ++
]) ++ (with pkgs.nodePackages; [
(with nodePackages; [ undollar
undollar ]) ++
]) ++ (with pkgs.plasma5Packages; [
(with plasma5Packages; [ polkit-kde-agent
polkit-kde-agent ark
ark kcharselect
kcharselect kdenlive
kdenlive okular
okular
# Dolphin & co # Dolphin & co
dolphin dolphin
dolphin-plugins dolphin-plugins
kdegraphics-thumbnailers kdegraphics-thumbnailers
ffmpegthumbs ffmpegthumbs
kio kio
kio-admin # needs to be both here and in system pkgs kio-admin # needs to be both here and in system pkgs
kio-extras kio-extras
kmime kmime
]) ++
]) ++ (with pkgs.gnome; [
(with gnome; [ gnome-calculator
gnome-calculator seahorse
seahorse ]) ++
]) ++ [ (with config.nur.repos.rycee; [
mozilla-addons-to-nix
]) ++
(with pkgs; [
# School # School
virt-manager virt-manager
gradle gradle
@ -105,7 +108,7 @@
) & ) &
exec env SUDO_ASKPASS=${pkgs.plasma5Packages.ksshaskpass}/bin/${pkgs.plasma5Packages.ksshaskpass.pname} sudo -k -EA "${gparted}/bin/${gparted.pname}" "$@" exec env SUDO_ASKPASS=${pkgs.plasma5Packages.ksshaskpass}/bin/${pkgs.plasma5Packages.ksshaskpass.pname} sudo -k -EA "${gparted}/bin/${gparted.pname}" "$@"
'') '')
]; ]);
xdg.desktopEntries.gparted = { xdg.desktopEntries.gparted = {
name = "GParted"; name = "GParted";