Refactor
Move more stuff into home manager as appropriate. Use 'personal' instead of 'home' for non-work stuff.
This commit is contained in:
parent
5f9cada55b
commit
a76299e62f
7 changed files with 15 additions and 19 deletions
|
|
@ -35,25 +35,19 @@
|
||||||
nnn # terminal file manager
|
nnn # terminal file manager
|
||||||
|
|
||||||
# archives
|
# archives
|
||||||
zip
|
|
||||||
xz
|
xz
|
||||||
unzip
|
|
||||||
# p7zip
|
# p7zip
|
||||||
|
|
||||||
# utils
|
# utils
|
||||||
ripgrep # recursively searches directories for a regex pattern
|
|
||||||
bat
|
|
||||||
jq # A lightweight and flexible command-line JSON processor
|
jq # A lightweight and flexible command-line JSON processor
|
||||||
# yq-go # yaml processor https://github.com/mikefarah/yq
|
# yq-go # yaml processor https://github.com/mikefarah/yq
|
||||||
eza # A modern replacement for ‘ls’
|
eza # A modern replacement for ‘ls’
|
||||||
fzf # A command-line fuzzy finder
|
fzf # A command-line fuzzy finder
|
||||||
fd
|
|
||||||
xclip
|
xclip
|
||||||
trash-cli
|
trash-cli
|
||||||
|
|
||||||
# networking tools
|
# networking tools
|
||||||
dig
|
dig
|
||||||
mtr # A network diagnostic tool
|
|
||||||
# iperf3
|
# iperf3
|
||||||
# dnsutils # `dig` + `nslookup`
|
# dnsutils # `dig` + `nslookup`
|
||||||
# ldns # replacement of `dig`, it provide the command `drill`
|
# ldns # replacement of `dig`, it provide the command `drill`
|
||||||
|
|
|
||||||
|
|
@ -1,16 +1,11 @@
|
||||||
{ config, pkgs, inputs, ... }:
|
{ config, pkgs, inputs, ... }:
|
||||||
{
|
|
||||||
# Mullvad vpn
|
|
||||||
services.mullvad-vpn = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
{
|
||||||
|
home.packages = with pkgs; [
|
||||||
foliate
|
foliate
|
||||||
inputs.locutus.packages.${pkgs.system}.default
|
inputs.locutus.packages.${pkgs.system}.default
|
||||||
jrnl
|
jrnl
|
||||||
mullvad-browser
|
mullvad-browser
|
||||||
mullvad-vpn
|
|
||||||
tor-browser
|
tor-browser
|
||||||
exiftool
|
exiftool
|
||||||
digikam
|
digikam
|
||||||
|
|
@ -35,7 +35,7 @@
|
||||||
modules = [
|
modules = [
|
||||||
./hosts/case/configuration.nix
|
./hosts/case/configuration.nix
|
||||||
home-manager.nixosModules.home-manager
|
home-manager.nixosModules.home-manager
|
||||||
(mkHomeManagerConfig { extraModules = [ ./alex/desktop.nix ]; })
|
(mkHomeManagerConfig { extraModules = [ ./alex/desktop.nix ./alex/personal.nix ]; })
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -45,7 +45,7 @@
|
||||||
modules = [
|
modules = [
|
||||||
./hosts/count/configuration.nix
|
./hosts/count/configuration.nix
|
||||||
home-manager.nixosModules.home-manager
|
home-manager.nixosModules.home-manager
|
||||||
(mkHomeManagerConfig { extraModules = [ ./alex/desktop.nix ]; })
|
(mkHomeManagerConfig { extraModules = [ ./alex/desktop.nix ./alex/personal.nix ]; })
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
../modules/base.nix
|
../modules/base.nix
|
||||||
../modules/desktop.nix
|
../modules/desktop.nix
|
||||||
../modules/home.nix
|
../modules/personal.nix
|
||||||
../modules/laptop.nix
|
../modules/laptop.nix
|
||||||
../modules/sway.nix
|
../modules/sway.nix
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@
|
||||||
../modules/base.nix
|
../modules/base.nix
|
||||||
../modules/desktop.nix
|
../modules/desktop.nix
|
||||||
../modules/brother-printer.nix
|
../modules/brother-printer.nix
|
||||||
../modules/home.nix
|
../modules/personal.nix
|
||||||
../modules/sway.nix
|
../modules/sway.nix
|
||||||
../modules/syncthing.nix
|
../modules/syncthing.nix
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -40,7 +40,6 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
bitwarden-desktop
|
|
||||||
libreoffice-fresh
|
libreoffice-fresh
|
||||||
meld
|
meld
|
||||||
];
|
];
|
||||||
|
|
|
||||||
8
hosts/modules/personal.nix
Normal file
8
hosts/modules/personal.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
{ config, pkgs, inputs, ... }:
|
||||||
|
{
|
||||||
|
# Mullvad vpn
|
||||||
|
services.mullvad-vpn = {
|
||||||
|
enable = true;
|
||||||
|
package = pkgs.mullvad-vpn;
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue