diff --git a/flake.nix b/flake.nix index 41ff6dd..57e9e93 100644 --- a/flake.nix +++ b/flake.nix @@ -9,20 +9,10 @@ }; }; - outputs = { self, nixpkgs, home-manager }: - let - system = "x86_64-linux"; - pkgs = import nixpkgs { - inherit system; - config = { - allowUnfree = true; - }; - }; - in - { + outputs = { self, nixpkgs, home-manager }: { nixosConfigurations = { - myNixos = nixpkgs.lib.nixosSystem { - inherit system; + pim = nixpkgs.lib.nixosSystem { + system = "x86_64-linux"; modules = [ ./configuration.nix home-manager.nixosModules.home-manager { diff --git a/switch.sh b/switch.sh new file mode 100755 index 0000000..ffed5f4 --- /dev/null +++ b/switch.sh @@ -0,0 +1,3 @@ +#!/usr/bin/env bash + +sudo nixos-rebuild switch --flake ./#pim --impure