Merge branch 'main' of ssh://git.trex-halfbeak.ts.net/don/NixOS-Configs
This commit is contained in:
commit
72ca769b5a
8 changed files with 157 additions and 170 deletions
61
home/common/pi-server.nix
Normal file
61
home/common/pi-server.nix
Normal file
|
|
@ -0,0 +1,61 @@
|
|||
{
|
||||
pkgs,
|
||||
inputs,
|
||||
osConfig,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
./bash.nix
|
||||
./btop.nix
|
||||
./catppuccin.nix
|
||||
./git.nix
|
||||
./gnupg.nix
|
||||
./liquidprompt.nix
|
||||
./ssh.nix
|
||||
./topgrade.nix
|
||||
];
|
||||
home.packages = with pkgs; [
|
||||
inputs.naviterm.packages.${pkgs.system}.default
|
||||
figlet
|
||||
file
|
||||
fzf
|
||||
gnupg
|
||||
gping
|
||||
htop
|
||||
iftop
|
||||
iw
|
||||
jq
|
||||
keychain
|
||||
keyutils
|
||||
links2
|
||||
liquidprompt
|
||||
moreutils
|
||||
ncdu
|
||||
nmap
|
||||
pinentry
|
||||
pipx
|
||||
ps_mem
|
||||
psmisc
|
||||
sqlite
|
||||
trippy
|
||||
unzip
|
||||
wget
|
||||
zip
|
||||
];
|
||||
services = {
|
||||
gpg-agent = {
|
||||
enable = true;
|
||||
defaultCacheTtl = 1800;
|
||||
enableSshSupport = true;
|
||||
};
|
||||
};
|
||||
programs.keychain = {
|
||||
enable = true;
|
||||
enableBashIntegration = true;
|
||||
keys = "id_aur id_dsa id_ed25519 git C7E41C9F79C846984163693FCCD8E76F07EA701B";
|
||||
};
|
||||
home.file.".links/links.cfg".source = files/links.cfg;
|
||||
xdg.configFile."nix/nix.conf".text = ''
|
||||
extra-experimental-features = flakes nix-command
|
||||
'';
|
||||
}
|
||||
33
home/pi-server.nix
Normal file
33
home/pi-server.nix
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
{
|
||||
inputs,
|
||||
outputs,
|
||||
pkgs,
|
||||
pkgs-stable,
|
||||
...
|
||||
}: {
|
||||
imports = [inputs.home-manager.nixosModules.home-manager];
|
||||
home-manager.extraSpecialArgs = {
|
||||
pkgs-stable = import pkgs-stable {config.allowUnfree = true;};
|
||||
inherit inputs outputs;
|
||||
};
|
||||
home-manager = {
|
||||
useUserPackages = true;
|
||||
backupFileExtension = "home-manager-backup";
|
||||
users = {
|
||||
don = {
|
||||
imports = [
|
||||
inputs.catppuccin.homeModules.catppuccin
|
||||
./common/pi-server.nix
|
||||
];
|
||||
home = {
|
||||
username = "don";
|
||||
homeDirectory = "/home/don";
|
||||
stateVersion = "23.05";
|
||||
};
|
||||
programs = {
|
||||
home-manager = {enable = true;};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue