base: move common programs to base
This commit is contained in:
parent
0f7ee556ff
commit
5c0ec171cf
|
@ -3,6 +3,7 @@
|
||||||
imports = [
|
imports = [
|
||||||
./networking.nix
|
./networking.nix
|
||||||
./nix.nix
|
./nix.nix
|
||||||
|
./programs.nix
|
||||||
./users.nix
|
./users.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
30
base/programs.nix
Normal file
30
base/programs.nix
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
|
programs = {
|
||||||
|
fish.enable = true;
|
||||||
|
gnupg.agent = {
|
||||||
|
enable = true;
|
||||||
|
enableSSHSupport = true;
|
||||||
|
pinentryFlavor = "curses";
|
||||||
|
};
|
||||||
|
mosh.enable = true;
|
||||||
|
tmux.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
# shell usage
|
||||||
|
bat
|
||||||
|
ripgrep
|
||||||
|
wget
|
||||||
|
|
||||||
|
# development
|
||||||
|
git
|
||||||
|
gnupg
|
||||||
|
pinentry-curses
|
||||||
|
vim
|
||||||
|
|
||||||
|
# terminal utilities
|
||||||
|
htop
|
||||||
|
stow
|
||||||
|
];
|
||||||
|
}
|
|
@ -43,34 +43,6 @@ in
|
||||||
];
|
];
|
||||||
my.networking.externalInterface = "eno1";
|
my.networking.externalInterface = "eno1";
|
||||||
|
|
||||||
# List packages installed in system profile. To search, run:
|
|
||||||
# $ nix search wget
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
bat
|
|
||||||
fish
|
|
||||||
git
|
|
||||||
gnupg
|
|
||||||
htop
|
|
||||||
pinentry-curses
|
|
||||||
ripgrep
|
|
||||||
stow
|
|
||||||
vim
|
|
||||||
wget
|
|
||||||
];
|
|
||||||
|
|
||||||
# Some programs need SUID wrappers, can be configured further or are
|
|
||||||
# started in user sessions.
|
|
||||||
programs = {
|
|
||||||
fish.enable = true;
|
|
||||||
gnupg.agent = {
|
|
||||||
enable = true;
|
|
||||||
enableSSHSupport = true;
|
|
||||||
pinentryFlavor = "curses";
|
|
||||||
};
|
|
||||||
mosh.enable = true;
|
|
||||||
tmux.enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
# List services that you want to enable:
|
# List services that you want to enable:
|
||||||
my.services = {
|
my.services = {
|
||||||
bitwarden_rs = {
|
bitwarden_rs = {
|
||||||
|
|
Loading…
Reference in a new issue