diff options
author | Mark Nipper <nipsy@bitgnome.net> | 2024-03-14 01:21:25 -0700 |
---|---|---|
committer | Mark Nipper <nipsy@bitgnome.net> | 2024-03-14 01:21:25 -0700 |
commit | 44eee99af9551ab52aa09b7ee23c567bccc13b9e (patch) | |
tree | c8728fda55044d04c8fb645d890400ac159a9ae5 /ginaz/flake.nix | |
parent | 576d5d4923e67887cf34d175b0482b5e77490da2 (diff) | |
download | nix-44eee99af9551ab52aa09b7ee23c567bccc13b9e.tar nix-44eee99af9551ab52aa09b7ee23c567bccc13b9e.tar.gz nix-44eee99af9551ab52aa09b7ee23c567bccc13b9e.tar.bz2 nix-44eee99af9551ab52aa09b7ee23c567bccc13b9e.tar.lz nix-44eee99af9551ab52aa09b7ee23c567bccc13b9e.tar.xz nix-44eee99af9551ab52aa09b7ee23c567bccc13b9e.tar.zst nix-44eee99af9551ab52aa09b7ee23c567bccc13b9e.zip |
Add initial Home Manager configuration
Diffstat (limited to '')
-rw-r--r-- | ginaz/flake.nix | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/ginaz/flake.nix b/ginaz/flake.nix index 03a0b27..b60a38a 100644 --- a/ginaz/flake.nix +++ b/ginaz/flake.nix @@ -2,13 +2,22 @@ description = "nipsy's NixOS configuration"; inputs = { - nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; + nixpkgs.url = github:NixOS/nixpkgs/nixos-unstable; + home-manager.url = "github:nix-community/home-manager"; + home-manager.inputs.nixpkgs.follows = "nixpkgs"; }; - outputs = { self, nixpkgs }: { + outputs = inputs@{ nixpkgs, home-manager, ... }: { nixosConfigurations.ginaz = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; - modules = [ ./configuration.nix ]; + modules = [ + ./configuration.nix + home-manager.nixosModules.home-manager { + home-manager.useGlobalPkgs = true; + #home-manager.useUserPackages = true; + home-manager.users.nipsy = import ./home.nix; + } + ]; }; }; } |