Fri 13 Sep 23:34:58 CEST 2024

This commit is contained in:
Thomas Avé 2024-09-13 23:34:58 +02:00
parent 1a82154359
commit 39ab1a3fc8
3 changed files with 14 additions and 4 deletions

View File

@ -8,6 +8,7 @@
programs.ssh.matchBlocks."*".identityFile = "/home/user/.secrets/SSH/Aloria/id_ed25519";
home.packages = with pkgs; [
distrobox
texliveFull
nmap
arp-scan
@ -23,6 +24,7 @@
zip
yubioath-flutter
obsidian
OVMFFull
];
services.hyprpaper = {
@ -58,7 +60,7 @@
programs.alacritty.settings.font.size = 13;
programs.zsh.initExtra = pkgs.lib.mkForce ''
LOCAL_SEARCH_DIRS=(~/.dotfiles/ ~/Workspace)
REMOTE_SEARCH_DIRS=()
LOCAL_SEARCH_DIRS=(~/.dotfiles/)
REMOTE_SEARCH_DIRS=( ~/Workspace)
'';
}

View File

@ -76,7 +76,6 @@
source ${pkgs.zsh-vi-mode}/share/zsh-vi-mode/zsh-vi-mode.plugin.zsh
source ${./files/functions.zsh}
function zvm_after_init() {
source ${pkgs.nix-index}/etc/profile.d/command-not-found.sh
source ${./files/term.zsh}
source ${./files/completion.zsh}
if [ -n "\$\{commands[fzf-share]\}" ]; then
@ -85,6 +84,7 @@
fi
source ${./files/keys.zsh}
eval "$(direnv hook zsh)"
export LD_LIBRARY_PATH=${pkgs.sqlite.out}/lib:$LD_LIBRARY_PATH
}
function run() {
NIXPKGS_ALLOW_UNFREE=1 nix run --impure "nixpkgs#$1" -- "''${@:2}"

View File

@ -4,6 +4,7 @@
(import ../Common/default.nix { inherit inputs pkgs config; })
(import ../Common/nvidia.nix { inherit inputs pkgs config; })
(import ../Common/desktop.nix { inherit inputs pkgs config; })
(import ../Common/nfs.nix { inherit inputs pkgs config; })
];
hardware.graphics.extraPackages = [
pkgs.intel-compute-runtime
@ -15,6 +16,13 @@
# services.ollama = {
# enable = true;
# };
programs.nix-ld.enable = true;
virtualisation.libvirtd.enable = true;
virtualisation.libvirtd.qemu.ovmf.enable = true;
virtualisation.spiceUSBRedirection.enable = true;
programs.virt-manager.enable = true;
users.users.user.extraGroups = [ "libvirtd" ];
networking.wg-quick.interfaces = {
Tunnel = {
@ -46,7 +54,7 @@
}];
};
};
# fileSystems."/home/server".device = pkgs.lib.mkForce "10.0.0.1:/home/server";
fileSystems."/home/server".device = pkgs.lib.mkForce "10.0.0.1:/home/server";
services.upower.enable = true;
networking.wireless.iwd.enable = true;