add bin scripts
This commit is contained in:
parent
d37834a164
commit
211ba8a0b0
16 changed files with 349 additions and 53 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{ inputs, pkgs, ... }:
|
||||
{ inputs, ... }:
|
||||
{
|
||||
programs.home-manager.enable = true;
|
||||
nix = {
|
||||
|
|
@ -6,6 +6,11 @@
|
|||
};
|
||||
home = {
|
||||
stateVersion = "22.11";
|
||||
file = {
|
||||
".local/bin" = {
|
||||
source = ../bin;
|
||||
};
|
||||
};
|
||||
};
|
||||
imports = [ ./shared/programs/min.nix ];
|
||||
xdg.enable = true;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, host, ...}:
|
||||
{ host, ... }:
|
||||
{
|
||||
imports = [
|
||||
./tmux.nix
|
||||
|
|
@ -20,6 +20,7 @@
|
|||
sus = "systemctl suspend";
|
||||
hms = "home-manager switch --flake $NIX_FLAKE#${host.username}";
|
||||
rbs = "sudo nixos-rebuild switch --flake $NIX_FLAKE#${host.hostName}";
|
||||
update = "nix flake update $NIX_FLAKE && rbs && hms";
|
||||
nvim-dev = "nix run ~/dev/nvim.nix";
|
||||
g = "git";
|
||||
k = "kubectl";
|
||||
|
|
|
|||
|
|
@ -30,6 +30,15 @@
|
|||
|
||||
];
|
||||
};
|
||||
programs.ssh = {
|
||||
enable = true;
|
||||
matchBlocks = {
|
||||
"10110110.xyz" = {
|
||||
hostname = "10110110.xyz";
|
||||
identityFile = "/home/e/.ssh/racknerd";
|
||||
};
|
||||
};
|
||||
};
|
||||
fonts.fontconfig.enable = true;
|
||||
systemd.user.startServices = "sd-switch";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue