mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-06-20 17:57:47 +02:00
Move packages into modules
This commit is contained in:
parent
2cebedd7e7
commit
7b6add8431
@ -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
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
@ -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
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
@ -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
9
dev/nix/default.nix
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
nil
|
||||||
|
nixfmt
|
||||||
|
nixos-generators
|
||||||
|
];
|
||||||
|
}
|
@ -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
10
dev/rust/default.nix
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
gcc
|
||||||
|
rustc
|
||||||
|
rustfmt
|
||||||
|
cargo
|
||||||
|
];
|
||||||
|
}
|
@ -1,6 +1,12 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./osu
|
./osu
|
||||||
./srb2
|
./srb2
|
||||||
];
|
];
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
typespeed
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
@ -3,5 +3,6 @@
|
|||||||
{
|
{
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
(pkgs.callPackage ./package {})
|
(pkgs.callPackage ./package {})
|
||||||
|
slade
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
./laptop
|
./laptop
|
||||||
./mullvad
|
./mullvad
|
||||||
./networking
|
./networking
|
||||||
./packages
|
|
||||||
./virtualization
|
./virtualization
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
environment.systemPackages = [ pkgs.mullvad-vpn ];
|
||||||
|
|
||||||
services.mullvad-vpn = {
|
services.mullvad-vpn = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableExcludeWrapper = false;
|
enableExcludeWrapper = false;
|
||||||
|
@ -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
|
|
||||||
];
|
|
||||||
}
|
|
@ -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
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
7
terminal/helix/default.nix
Normal file
7
terminal/helix/default.nix
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
home-manager.sharedModules = [{
|
||||||
|
programs.helix = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
}];
|
||||||
|
}
|
@ -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
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user