add vim and tailscale and shit

This commit is contained in:
Charlotte Som 2024-11-27 03:04:49 +00:00
parent 6163a8b53f
commit 9797de097a
3 changed files with 24 additions and 1 deletions

View file

@ -23,7 +23,8 @@
({...}: { system.stateVersion = "23.11"; }) ({...}: { system.stateVersion = "23.11"; })
./system/cerulea-1/hardware-configuration.nix ./system/cerulea-1/hardware-configuration.nix
./system/cerulea-1/networking.nix ./system/cerulea-1/networking.nix
./system/configuration.nix ./system/base.nix
./system/software.nix
]; ];
}; };
}; };

22
flake/system/software.nix Normal file
View file

@ -0,0 +1,22 @@
{ pkgs, unstable-pkgs, ... }: {
environment.systemPackages = with pkgs; [
vim
tmux
] ++ [
unstable-pkgs.deno
unstable-pkgs.sqlite-interactive
unstable-pkgs.httpie
];
programs.vim.defaultEditor = true;
environment.variables = {
EDITOR = "vim";
VISUAL = "vim";
SYSTEMD_EDITOR = "vim";
};
services.tailscale.enable = true;
programs.git.enable = true;
programs.nix-ld.enable = true; # for Deno :)
}