git .
This commit is contained in:
parent
6a1a671a5f
commit
12121d0fb2
|
@ -25,7 +25,6 @@
|
|||
./hyprland
|
||||
./hypridle
|
||||
./newsboat
|
||||
./homemisc
|
||||
./git
|
||||
./gtk
|
||||
./ags
|
||||
|
|
|
@ -1,19 +0,0 @@
|
|||
{lib, ...}: {
|
||||
home-manager.users.joy.home = {
|
||||
username = "joy";
|
||||
homeDirectory = "/home/joy";
|
||||
stateVersion = "23.11";
|
||||
sessionVariables = {
|
||||
};
|
||||
};
|
||||
|
||||
home-manager.users.joy.programs.home-manager.enable = true;
|
||||
|
||||
home-manager.users.joy.xdg.mimeApps.defaultApplications = {
|
||||
"text/plain" = ["helix.desktop"];
|
||||
"image/*" = ["imv.desktop"];
|
||||
"video/png" = ["mpv.desktop"];
|
||||
"video/jpg" = ["mpv.desktop"];
|
||||
"video/*" = ["mpv.desktop"];
|
||||
};
|
||||
}
|
|
@ -22,4 +22,21 @@
|
|||
time.timeZone = "Europe/Zurich";
|
||||
system.stateVersion = "23.11";
|
||||
home-manager.backupFileExtension = "backup";
|
||||
home-manager.users.joy.home = {
|
||||
username = "joy";
|
||||
homeDirectory = "/home/joy";
|
||||
stateVersion = "23.11";
|
||||
sessionVariables = {
|
||||
};
|
||||
};
|
||||
|
||||
home-manager.users.joy.programs.home-manager.enable = true;
|
||||
|
||||
home-manager.users.joy.xdg.mimeApps.defaultApplications = {
|
||||
"text/plain" = ["helix.desktop"];
|
||||
"image/*" = ["imv.desktop"];
|
||||
"video/png" = ["mpv.desktop"];
|
||||
"video/jpg" = ["mpv.desktop"];
|
||||
"video/*" = ["mpv.desktop"];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
ip = "sh ~/nix/modules/zsh/ip.sh";
|
||||
fr = "sudo systemctl reboot --firmware";
|
||||
ser = "ssh root@joygnu.org";
|
||||
rb = "sh ~/nix/home/modules/rebuild.sh";
|
||||
rb = "sh ~/nix/modules/rebuild.sh";
|
||||
up = "sudo nix flake update ~/nix";
|
||||
del = "sudo nix-collect-garbage -d";
|
||||
};
|
||||
|
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
hostname=$(hostname)
|
||||
|
||||
git add .
|
||||
|
||||
if [[ $hostname == *"desktop"* ]]; then
|
||||
sudo nixos-rebuild switch --flake ~/nix/#desktop
|
||||
elif [[ $hostname == *"laptop"* ]]; then
|
||||
|
|
Loading…
Reference in a new issue