feat: Use deploy-rs

Signed-off-by: uttarayan21 <email@uttarayan.me>
This commit is contained in:
uttarayan21
2025-05-04 02:38:07 +05:30
parent 90fb9bcc6b
commit 7133046a8b
3 changed files with 6 additions and 3 deletions

View File

@@ -47,7 +47,7 @@
}; };
}; };
deck = { deck = {
hostname = "deck"; hostname = "192.168.0.183";
profiles.system = { profiles.system = {
sshUser = "deck"; sshUser = "deck";
path = inputs.deploy-rs.lib.x86_64-linux.activate.home-manager self.homeConfigurations.deck; path = inputs.deploy-rs.lib.x86_64-linux.activate.home-manager self.homeConfigurations.deck;

View File

@@ -3,7 +3,9 @@
config, config,
... ...
}: { }: {
imports = [./tailscale.nix]; imports = [
./tailscale.nix
];
programs = {home-manager.enable = true;}; programs = {home-manager.enable = true;};
home = { home = {
username = "deck"; username = "deck";
@@ -11,6 +13,7 @@
packages = with pkgs; [ packages = with pkgs; [
_1password-cli _1password-cli
tailscale tailscale
(nixvim.makeNixvim (import ../neovim))
]; ];
stateVersion = "24.11"; stateVersion = "24.11";
}; };

View File

@@ -1,6 +1,6 @@
{ {
pkgs, pkgs,
config, config,
...
}: { }: {
services.tailscale.enable = true;
} }