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