ensure all networked machines have tmux and ripgrep
This commit is contained in:
parent
51108984e1
commit
819ac7d913
3 changed files with 25 additions and 17 deletions
|
|
@ -7,21 +7,27 @@
|
|||
storage.legacy = { };
|
||||
};
|
||||
|
||||
defaults = {
|
||||
imports = [
|
||||
# make sure you have properly added the home-manager channel!
|
||||
<home-manager/nixos>
|
||||
];
|
||||
defaults = { pkgs, ... }:
|
||||
{
|
||||
imports = [
|
||||
# make sure you have properly added the home-manager channel!
|
||||
<home-manager/nixos>
|
||||
];
|
||||
|
||||
documentation.enable = false;
|
||||
documentation.enable = false;
|
||||
|
||||
# for nixops to log in and perform operations as haak (instead of root)
|
||||
security.sudo.wheelNeedsPassword = false;
|
||||
users.users.root.openssh.authorizedKeys.keys = [
|
||||
(import ../system/framework/keys.nix).ssh.public
|
||||
];
|
||||
home-manager.users.haak = (import ../home/commandline.nix);
|
||||
};
|
||||
# for nixops to log in and perform operations as haak (instead of root)
|
||||
security.sudo.wheelNeedsPassword = false;
|
||||
users.users.root.openssh.authorizedKeys.keys = [
|
||||
(import ../system/framework/keys.nix).ssh.public
|
||||
];
|
||||
home-manager.users.haak = (import ../home/commandline.nix);
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
tmux
|
||||
ripgrep
|
||||
];
|
||||
};
|
||||
|
||||
server = {
|
||||
deployment.targetHost = "192.168.1.65";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue