Move packages into modules

This commit is contained in:
Donovan Glover 2023-05-19 02:54:35 -04:00
parent 2cebedd7e7
commit 7b6add8431
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
14 changed files with 117 additions and 71 deletions

View File

@ -1,3 +1,5 @@
{ pkgs, ... }:
{ {
imports = [ imports = [
./feh ./feh
@ -9,4 +11,15 @@
./thunar ./thunar
./zathura ./zathura
]; ];
environment.systemPackages = with pkgs; [
audacity
gimp
anki
logseq
litemdview
mullvad-browser
spek
keepassxc
];
} }

View File

@ -1,3 +1,5 @@
{ pkgs, ... }:
{ {
imports = [ imports = [
./dual-function-keys ./dual-function-keys
@ -18,4 +20,13 @@
./xresources ./xresources
./xserver ./xserver
]; ];
environment.systemPackages = with pkgs; [
grim
slurp
wl-clipboard
lnch
wev
swaybg
];
} }

View File

@ -1,6 +1,14 @@
{ pkgs, ... }:
{ {
imports = [ imports = [
./editorconfig ./editorconfig
./nix
./npm ./npm
./rust
];
environment.systemPackages = with pkgs; [
marksman
]; ];
} }

9
dev/nix/default.nix Normal file
View File

@ -0,0 +1,9 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
nil
nixfmt
nixos-generators
];
}

View File

@ -1,3 +1,11 @@
{ pkgs, ... }:
{ {
programs.npm.enable = true; programs.npm.enable = true;
environment.systemPackages = with pkgs; [
nodejs
yarn
deno
];
} }

10
dev/rust/default.nix Normal file
View File

@ -0,0 +1,10 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
gcc
rustc
rustfmt
cargo
];
}

View File

@ -1,6 +1,12 @@
{ pkgs, ... }:
{ {
imports = [ imports = [
./osu ./osu
./srb2 ./srb2
]; ];
environment.systemPackages = with pkgs; [
typespeed
];
} }

View File

@ -3,5 +3,6 @@
{ {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
(pkgs.callPackage ./package {}) (pkgs.callPackage ./package {})
slade
]; ];
} }

View File

@ -3,7 +3,6 @@
./laptop ./laptop
./mullvad ./mullvad
./networking ./networking
./packages
./virtualization ./virtualization
]; ];
} }

View File

@ -1,4 +1,8 @@
{ pkgs, ... }:
{ {
environment.systemPackages = [ pkgs.mullvad-vpn ];
services.mullvad-vpn = { services.mullvad-vpn = {
enable = true; enable = true;
enableExcludeWrapper = false; enableExcludeWrapper = false;

View File

@ -1,70 +0,0 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
pinentry-curses
wget
grim
slurp
mullvad-browser
papirus-icon-theme
mediainfo
pywal
mpc-cli
neofetch
tectonic
fdupes
anki
logseq
yt-dlp
wl-clipboard
ffmpeg
siege
ponysay
lolcat
wev
figlet
gcc
httpie
cmatrix
sox
spek
p7zip
ripgrep
rsync
jq
keepassxc
exa
fd
fzf
unar
audacity
gimp
typespeed
slade
gdu
nixfmt
whois
lnch
dwt1-shell-color-scripts
dig
trashy
swaybg
brightnessctl
killall
nixos-generators
litemdview
nodejs
yarn
deno
crystal
shards
rustc
rustfmt
cargo
genact
helix
nil
marksman
];
}

View File

@ -1,9 +1,12 @@
{ pkgs, ... }:
{ {
imports = [ imports = [
./bat ./bat
./fish ./fish
./git ./git
./gpg ./gpg
./helix
./htop ./htop
./ncmpcpp ./ncmpcpp
./neovim ./neovim
@ -11,4 +14,35 @@
./starship ./starship
./tig ./tig
]; ];
environment.systemPackages = with pkgs; [
wget
jq
exa
fd
fzf
gdu
fdupes
mediainfo
ponysay
lolcat
cmatrix
sox
httpie
p7zip
ripgrep
rsync
unar
genact
ffmpeg
killall
trashy
whois
dwt1-shell-color-scripts
dig
yt-dlp
neofetch
pywal
brightnessctl
];
} }

View File

@ -0,0 +1,7 @@
{
home-manager.sharedModules = [{
programs.helix = {
enable = true;
};
}];
}

View File

@ -1,3 +1,5 @@
{ pkgs, ... }:
{ {
home-manager.sharedModules = [{ home-manager.sharedModules = [{
services.mpd = { services.mpd = {
@ -50,4 +52,8 @@
}; };
}; };
}]; }];
environment.systemPackages = with pkgs; [
mpc-cli
];
} }