Remove home-manager shellAlias

This commit is contained in:
Evie Litherland-Smith 2023-09-04 08:56:19 +01:00
parent af0df58d68
commit e5158bcc51

View file

@ -1,8 +1,6 @@
{ pkgs, shell, ... }:
let
flakeURL = "git+https://git.xenia.me.uk/xenia/nixos.git?ref=main";
in
{
let flakeURL = "git+https://git.xenia.me.uk/xenia/nixos.git?ref=main";
in {
nix = {
settings.experimental-features = [ "nix-command" "flakes" ];
gc = {
@ -19,10 +17,7 @@ in
environment = {
localBinInPath = true;
systemPackages = with pkgs; [ distrobox ];
shellAliases = {
nou = "sudo nixos-rebuild switch --flake \"${flakeURL}\"";
hms = "${pkgs.home-manager}/bin/home-manager switch --flake \"${flakeURL}\"";
};
shellAliases.nou = ''sudo nixos-rebuild switch --flake "${flakeURL}"'';
};
networking.networkmanager.enable = true;
services = {