diff --git a/flake.lock b/flake.lock index 4706649..4e17655 100644 --- a/flake.lock +++ b/flake.lock @@ -105,11 +105,11 @@ ] }, "locked": { - "lastModified": 1675557167, + "lastModified": 1675562731, "narHash": "sha256-L1PZV1sYymzyklrluQ39J0yJQDPIv6W7eMogwv4hoOY=", "owner": "Gerg-L", "repo": "spicetify-nix", - "rev": "b32952b5928c9ea74882c6e7889d6393e9336b9d", + "rev": "909c78b2741ead6de08aa170ad5eb81f44b936ef", "type": "github" }, "original": { diff --git a/modules/shells.nix b/modules/shells.nix index d1bb3e7..734e6c1 100644 --- a/modules/shells.nix +++ b/modules/shells.nix @@ -23,8 +23,6 @@ NIX_BUILD_SHELL = "zsh"; }; shellAliases = { - vm-start = "virsh start Windows"; - vm-stop = "virsh shutdown Windows"; #make sudo use aliases sudo = "sudo "; #paste link trick diff --git a/modules/vfio.nix b/modules/vfio.nix index 9355fcb..8c62094 100644 --- a/modules/vfio.nix +++ b/modules/vfio.nix @@ -25,7 +25,13 @@ }; }; }; - environment.systemPackages = with pkgs; [virt-manager]; + environment = { + systemPackages = with pkgs; [virt-manager]; + shellAliases = { + vm-start = "virsh start Windows"; + vm-stop = "virsh shutdown Windows"; + }; + }; systemd.services.libvirtd.preStart = let qemuHook = pkgs.writeScript "qemu-hook" '' #!${pkgs.stdenv.shell} diff --git a/nix.nix b/nix.nix index 9a54fdc..086fb9c 100644 --- a/nix.nix +++ b/nix.nix @@ -4,10 +4,6 @@ config, ... }: { - environment.etc = { - "nix/flake-channels/system".source = inputs.self; - "nix/flake-channels/nixpkgs".source = inputs.nixpkgs.outPath; - }; nix = { nixPath = lib.mapAttrsToList (key: value: "${key}=${value.to.path}") config.nix.registry;