dotfiles.nix/profiles/common.nix

41 lines
679 B
Nix
Raw Normal View History

2021-01-11 03:59:20 +00:00
{ config, pkgs, lib, ... }: {
imports = [
# basic services
../services/ssh.nix
../services/vpn.nix
../services/l10n.nix
./caches.nix
./quicksudo.nix
../users/mat.nix
2021-05-06 00:05:27 +00:00
<home-manager/nixos>
2021-01-11 03:59:20 +00:00
];
2021-05-06 00:05:27 +00:00
home-manager.users.mat = import ../users/mat-hm.nix { inherit pkgs; };
2021-01-11 03:59:20 +00:00
system.autoUpgrade.enable = true;
system.copySystemConfiguration = true;
environment.systemPackages = with pkgs; [
fish
git
htop
2021-05-05 15:21:02 +00:00
ripgrep
2021-01-11 03:59:20 +00:00
tmux
tree
unzip
vim
wget
zip
];
environment.variables = {
"EDITOR" = "vim";
"VISUAL" = "vim";
};
programs = {
fish.enable = false;
ssh = { startAgent = true; };
};
}