moving-programs-to-home-manager

This commit is contained in:
Richie Cahill 2024-04-14 22:23:37 -04:00
parent a7e8bcb04c
commit 6ced5fe4d3
4 changed files with 54 additions and 45 deletions

View File

@ -1,9 +1,8 @@
{ pkgs, ... }:
# home manager
{ {
imports = [ imports = [
./home/sshconfig.nix
./home/git.nix ./home/git.nix
./home/programs.nix
./home/sshconfig.nix
./home/vscode ./home/vscode
]; ];
@ -17,17 +16,6 @@
home = { home = {
username = "richie"; username = "richie";
homeDirectory = "/home/richie"; homeDirectory = "/home/richie";
packages = with pkgs; [
firefox
# Rust packages
topgrade
trunk
wasm-pack
cargo-watch
cargo-generate
cargo-audit
cargo-update
];
}; };
home.stateVersion = "23.11"; home.stateVersion = "23.11";

View File

@ -0,0 +1,51 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [
# cli
bat
btop
git
gnupg
ncdu
neofetch
ripgrep
sops
starship
zoxide
zsh-nix-shell
# system info
hwloc
lynis
pciutils
smartmontools
usbutils
# netowking
iperf3
nmap
wget
# GUI
beeper
candy-icons
discord-canary
firefox
obsidian
sweet-nova
# python
python3
ruff
# Rust packages
topgrade
trunk
wasm-pack
cargo-watch
cargo-generate
cargo-audit
cargo-update
# nix
nix-init
nix-output-monitor
nix-prefetch
nix-tree
nixpkgs-fmt
];
}

View File

@ -1,37 +1,7 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
bat
beeper
btop
candy-icons
discord-canary
git git
gnupg
htop
hwloc
iperf3
lynis
ncdu
neofetch
nix-init
nix-output-monitor
nix-prefetch
nix-tree
nixpkgs-fmt
nmap
pciutils
python3 python3
ripgrep
smartmontools
sops
starship
sweet-nova
usbutils
vscode
wget
yubioath-flutter
zoxide
zsh-nix-shell
]; ];
} }

View File

@ -80,7 +80,7 @@
]; ];
"projects" = { "projects" = {
id = "vyma6-lqqrz"; id = "vyma6-lqqrz";
path = "/ZFS/Storage/Syncthing/projects"; path = "/home/richie/projects";
devices = [ "jeeves" ]; devices = [ "jeeves" ];
fsWatcherEnabled = true; fsWatcherEnabled = true;
}; };