add bin scripts

This commit is contained in:
iofq 2023-12-28 21:47:36 -06:00
parent d37834a164
commit 211ba8a0b0
16 changed files with 349 additions and 53 deletions

View file

@ -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;

View file

@ -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";

View file

@ -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";
}