Skip to content

Commit

Permalink
activate-home
Browse files Browse the repository at this point in the history
  • Loading branch information
srid committed Jun 27, 2024
1 parent aa58393 commit 6682c68
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 4 deletions.
7 changes: 4 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 15 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
home-manager.url = "github:nix-community/home-manager";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
nixos-hardware.url = "github:NixOS/nixos-hardware";
nixos-flake.url = "github:srid/nixos-flake";
nixos-flake.url = "github:srid/nixos-flake/activate-home";
disko.url = "github:nix-community/disko";
disko.inputs.nixpkgs.follows = "nixpkgs";
ragenix.url = "github:yaxitech/ragenix";
Expand Down Expand Up @@ -59,6 +59,20 @@
};

perSystem = { self', inputs', pkgs, system, config, ... }: {
legacyPackages.homeConfigurations."parallels" =
self.nixos-flake.lib.mkHomeConfiguration
pkgs
({ pkgs, ... }: {
home.username = "parallels";
home.homeDirectory = "/home/parallels";
programs = {
starship.enable = true;
bash.enable = true;
};
home.stateVersion = "24.05";
# nixos-flake.sshTarget = "parallels@ubuntu";
});

# Flake inputs we want to update periodically
# Run: `nix run .#update`.
nixos-flake = {
Expand Down

0 comments on commit 6682c68

Please sign in to comment.