2023-09-24 03:59:47 +02:00
|
|
|
{ config, pkgs, lib, ... }:
|
|
|
|
{
|
|
|
|
imports =
|
|
|
|
[
|
|
|
|
../packages/vim.nix
|
2023-12-10 21:14:55 +01:00
|
|
|
../services/ssh.nix
|
2023-09-24 03:59:47 +02:00
|
|
|
];
|
|
|
|
|
2024-04-08 20:01:01 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
|
|
|
|
wget
|
|
|
|
git
|
|
|
|
rsync
|
|
|
|
ripgrep
|
|
|
|
tailscale
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-01-14 21:00:30 +01:00
|
|
|
#system vide bash aliases.
|
|
|
|
environment.shellAliases = {
|
|
|
|
gst="git status";
|
|
|
|
gcm="git commit -m";
|
|
|
|
gsw="git switch";
|
|
|
|
gaa="git add -A";
|
|
|
|
gb="git branch";
|
|
|
|
dc="cd";
|
|
|
|
la="ls -la";
|
|
|
|
lls="ls";
|
|
|
|
};
|
|
|
|
|
|
|
|
programs.bash.shellAliases = config.environment.shellAliases;
|
|
|
|
|
|
|
|
environment.interactiveShellInit = ''
|
|
|
|
alias gst='git status'
|
|
|
|
alias gcm='git commit -m'
|
|
|
|
alias gsw='git switch'
|
|
|
|
alias gaa='git add -A'
|
|
|
|
alias gb='git branch'
|
|
|
|
alias dc='cd'
|
|
|
|
alias la='ls -la'
|
|
|
|
alias lls='ls'
|
|
|
|
'';
|
|
|
|
|
2023-09-24 03:59:47 +02:00
|
|
|
#nix stuff
|
2024-03-22 12:55:22 +01:00
|
|
|
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
2023-09-24 03:59:47 +02:00
|
|
|
nix.gc.automatic = true;
|
|
|
|
system.autoUpgrade.enable = true;
|
2024-03-22 12:55:22 +01:00
|
|
|
|
2023-10-17 19:42:00 +02:00
|
|
|
}
|