globalized for lars programs.nix

This commit is contained in:
get 2024-04-12 10:34:06 +02:00
commit e8c795a93c
5 changed files with 55 additions and 77 deletions

View file

@ -26,6 +26,9 @@
cls = "clear"; cls = "clear";
}; };
oh-my-zsh = {
enable = true;
};
}; };
git = { git = {

View file

@ -1,8 +1,9 @@
_: { _: {
imports = [ imports = [
../. ../.
./configuration.nix ./../programs.nix
./programs.nix ./programs.nix
./configuration.nix
./hardware-configuration.nix ./hardware-configuration.nix
./profile.nix ./profile.nix
]; ];

View file

@ -7,44 +7,6 @@ in {
fenix = inputs.fenix.packages.${pkgs.system}; fenix = inputs.fenix.packages.${pkgs.system};
in with pkgs; [ in with pkgs; [
neofetch
git
trash-cli
element-desktop
steam
libreoffice-fresh
ventoy-full
lazygit
# obsidian
neofetch
zip
vlc
zathura
alacritty
unzip
gcc
bibata-cursors
networkmanagerapplet
xclip
pamixer
pcmanfm
ffmpeg_6-full
(fenix.complete.withComponents [
"cargo"
"clippy"
"rust-src"
"rustc"
"rustfmt"
])
polkit
fastfetch
alsa-utils
gdb
tree
smartmontools
python3
rustdesk
neovim
]; ];
}; };
} }

View file

@ -7,44 +7,6 @@ in {
fenix = inputs.fenix.packages.${pkgs.system}; fenix = inputs.fenix.packages.${pkgs.system};
in with pkgs; [ in with pkgs; [
neofetch
git
trash-cli
element-desktop
steam
libreoffice-fresh
ventoy-full
lazygit
# obsidian
neofetch
zip
vlc
zathura
alacritty
unzip
gcc
bibata-cursors
networkmanagerapplet
xclip
pamixer
pcmanfm
ffmpeg_6-full
(fenix.complete.withComponents [
"cargo"
"clippy"
"rust-src"
"rustc"
"rustfmt"
])
polkit
fastfetch
alsa-utils
gdb
tree
smartmontools
python3
rustdesk
neovim
]; ];
}; };
} }

50
hosts/lars/programs.nix Normal file
View file

@ -0,0 +1,50 @@
{ config, inputs, pkgs, ... }:
let
username = config.myOptions.other.system.username;
in {
home-manager.users.${username} = {
home.packages = let
fenix = inputs.fenix.packages.${pkgs.system};
in with pkgs; [
neofetch
git
trash-cli
element-desktop
steam
libreoffice-fresh
ventoy-full
lazygit
# obsidian
neofetch
zip
vlc
zathura
alacritty
unzip
gcc
bibata-cursors
networkmanagerapplet
xclip
pamixer
pcmanfm
ffmpeg_6-full
(fenix.complete.withComponents [
"cargo"
"clippy"
"rust-src"
"rustc"
"rustfmt"
])
polkit
fastfetch
alsa-utils
gdb
tree
smartmontools
python3
rustdesk
neovim
];
};
}