Skip to content

Commit

Permalink
fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
blitter committed Mar 30, 2024
1 parent 92b2590 commit 8e97ca4
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 22 deletions.
22 changes: 11 additions & 11 deletions example/flake.lock

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

34 changes: 23 additions & 11 deletions example/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,16 @@
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11";

home-manager.url = "github:nix-community/home-manager/release-23.11";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
home-manager = {
url = "github:nix-community/home-manager/release-23.11";
inputs.nixpkgs.follows = "nixpkgs";
};

plasma-manager.url = "github:pjones/plasma-manager";
plasma-manager.inputs.nixpkgs.follows = "nixpkgs";
plasma-manager.inputs.home-manager.follows = "home-manager";
plasma-manager = {
url = "github:pjones/plasma-manager";
inputs.nixpkgs.follows = "nixpkgs";
inputs.home-manager.follows = "home-manager";
};
};

outputs = inputs:
Expand All @@ -21,16 +25,24 @@
# Standalone Home Manager Setup:
homeConfigurations.${username} =
inputs.home-manager.lib.homeManagerConfiguration {
pkgs = import inputs.nixpkgs { inherit system; };

# Ensure Plasma Manager is available:
extraModules = [
modules = [
inputs.plasma-manager.homeManagerModules.plasma-manager
];

# Specify the path to your home configuration here:
configuration = import ./home.nix;
# Specify the path to your home configuration here:
./home.nix

{
home = {
inherit username;
homeDirectory = "/home/${username}";
stateVersion = "23.11";
};
}
];

inherit system username;
homeDirectory = "/home/${username}";
};

# A shell where Home Manager can be used:
Expand Down

0 comments on commit 8e97ca4

Please sign in to comment.