mirror of
https://gitlab.com/Zaney/zaneyos.git
synced 2025-02-16 16:40:49 +01:00
Add nh utility & ZaneyOS version info
This commit is contained in:
parent
427946c4ad
commit
e2aabb7222
@ -18,15 +18,14 @@ lib.mkIf (theShell == "bash") {
|
||||
fi
|
||||
'';
|
||||
sessionVariables = {
|
||||
FLAKEDIR = "${flakeDir}";
|
||||
ZANEYOS = true;
|
||||
FLAKEBACKUP = "${flakeBackup}";
|
||||
FLAKEPREV = "${flakePrev}";
|
||||
};
|
||||
shellAliases = {
|
||||
sv="sudo nvim";
|
||||
flake-rebuild="sudo nixos-rebuild switch --flake ${flakeDir}";
|
||||
flake-update="sudo nix flake update ${flakeDir}";
|
||||
flake-rebuild="nh os switch --nom --hostname ${flakeDir}";
|
||||
flake-update="nh os switch --nom --hostname ${flakeDir} --update";
|
||||
gcCleanup="nix-collect-garbage --delete-old && sudo nix-collect-garbage -d && sudo /run/current-system/bin/switch-to-configuration boot";
|
||||
v="nvim";
|
||||
ls="lsd";
|
||||
|
@ -12,7 +12,7 @@
|
||||
pkg-config meson hugo gnumake ninja go nodejs symbola
|
||||
noto-fonts-color-emoji material-icons brightnessctl
|
||||
toybox virt-viewer swappy ripgrep appimage-run
|
||||
networkmanagerapplet yad playerctl
|
||||
networkmanagerapplet yad playerctl nh
|
||||
];
|
||||
|
||||
programs.steam.gamescopeSession.enable = true;
|
||||
|
@ -5,7 +5,7 @@ let
|
||||
inherit (import ./options.nix)
|
||||
theLocale theTimezone gitUsername
|
||||
theShell wallpaperDir wallpaperGit
|
||||
theLCVariables theKBDLayout;
|
||||
theLCVariables theKBDLayout flakeDir;
|
||||
in {
|
||||
imports =
|
||||
[
|
||||
@ -53,6 +53,8 @@ in {
|
||||
};
|
||||
|
||||
environment.variables = {
|
||||
ZOSVER = "unstable";
|
||||
FLAKE = "${flakeDir}";
|
||||
POLKIT_BIN = "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1";
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user