meow
This commit is contained in:
parent
c999ed6520
commit
35c8ebb56a
20 changed files with 670 additions and 405 deletions
|
|
@ -11,6 +11,17 @@ in
|
|||
options.xyno.presets.cli.enable =
|
||||
lib.mkEnableOption "enables xynos cli config with fish and helix and stuff";
|
||||
config = lib.mkIf cfg.enable {
|
||||
home-manager.users.${config.xyno.system.user.name} =
|
||||
lib.mkIf config.xyno.presets.home-manager.enable
|
||||
(
|
||||
{ ... }:
|
||||
{
|
||||
xyno.helix.enable = true;
|
||||
home.sessionVariables.LOCALE_ARCHIVE_2_27 = lib.mkForce "/run/current-system/sw/lib/locale/locale-archive";
|
||||
systemd.user.sessionVariables.LOCALE_ARCHIVE_2_27 = lib.mkForce "/run/current-system/sw/lib/locale/locale-archive";
|
||||
}
|
||||
);
|
||||
|
||||
xyno.cli.fish.enable = true;
|
||||
xyno.cli.starship.enable = true;
|
||||
security.sudo.enable = false;
|
||||
|
|
@ -31,19 +42,15 @@ in
|
|||
LC_TIME = "de_DE.UTF-8";
|
||||
LC_COLLATE = "de_DE.UTF-8";
|
||||
};
|
||||
home-manager.users.xyno.home.sessionVariables.LOCALE_ARCHIVE_2_27 =
|
||||
lib.mkForce "/run/current-system/sw/lib/locale/locale-archive";
|
||||
home-manager.users.xyno.systemd.user.sessionVariables.LOCALE_ARCHIVE_2_27 =
|
||||
lib.mkForce "/run/current-system/sw/lib/locale/locale-archive";
|
||||
|
||||
nix.settings = {
|
||||
substituters = [
|
||||
# "https://cache.lix.systems"
|
||||
"https://helix.cachix.org"
|
||||
# "https://helix.cachix.org"
|
||||
];
|
||||
trusted-public-keys = [
|
||||
# "cache.lix.systems:aBnZUw8zA7H35Cz2RyKFVs3H4PlGTLawyY5KRbvJR8o="
|
||||
"helix.cachix.org-1:ejp9KQpR1FBI2onstMQ34yogDm4OgU2ru6lIwPvuCVs="
|
||||
# "helix.cachix.org-1:ejp9KQpR1FBI2onstMQ34yogDm4OgU2ru6lIwPvuCVs="
|
||||
];
|
||||
trusted-users = lib.mkDefault [
|
||||
"root"
|
||||
|
|
@ -78,33 +85,35 @@ in
|
|||
# pinentrywlavor = "curses";
|
||||
# enableSSHSupport = true;
|
||||
};
|
||||
services.udev.packages = [ pkgs.yubikey-personalization ]; # needed for yubikeys to be used as smartcards
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
jq
|
||||
fd
|
||||
(pkgs.writeShellScriptBin "sudo" "run0 $@")
|
||||
aria2
|
||||
openssl
|
||||
bat
|
||||
bottom
|
||||
curl
|
||||
croc
|
||||
dig
|
||||
fd
|
||||
ffmpeg
|
||||
file
|
||||
fzf
|
||||
git
|
||||
helix
|
||||
htop
|
||||
imagemagick
|
||||
bat
|
||||
ffmpeg
|
||||
poppler
|
||||
w3m
|
||||
curl
|
||||
aria2
|
||||
fzf
|
||||
file
|
||||
git
|
||||
neofetch
|
||||
ripgrep
|
||||
pv
|
||||
yt-dlp
|
||||
moar
|
||||
helix
|
||||
jq
|
||||
lm_sensors
|
||||
dig
|
||||
moar
|
||||
neofetch
|
||||
nix-output-monitor
|
||||
(pkgs.writeShellScriptBin "sudo" "run0 $@")
|
||||
poppler
|
||||
pv
|
||||
ripgrep
|
||||
w3m
|
||||
yt-dlp
|
||||
p7zip
|
||||
];
|
||||
programs.mosh.enable = true;
|
||||
environment.variables.EDITOR = "hx";
|
||||
|
|
@ -125,6 +134,7 @@ in
|
|||
p = "cd ~/proj";
|
||||
ytl = ''yt-dlp -f "bv*+mergeall[vcodec=none]" --audio-multistreams'';
|
||||
sudo = "run0";
|
||||
less = "moar";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue