feat: manage user configuration with Home Manager
This commit is contained in:
parent
7ae4243548
commit
07f806604f
5 changed files with 66 additions and 2 deletions
11
flake.nix
11
flake.nix
|
|
@ -4,12 +4,19 @@
|
|||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-26.05";
|
||||
codex-nixpkgs.url = "github:NixOS/nixpkgs/master";
|
||||
home-manager = {
|
||||
url = "github:nix-community/home-manager/release-26.05";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = { nixpkgs, codex-nixpkgs, ... }: {
|
||||
outputs = { nixpkgs, codex-nixpkgs, home-manager, ... }: {
|
||||
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [ ./nixos/hosts/nixos ];
|
||||
modules = [
|
||||
./nixos/hosts/nixos
|
||||
home-manager.nixosModules.home-manager
|
||||
];
|
||||
specialArgs = {
|
||||
codexPkgs = codex-nixpkgs.legacyPackages.x86_64-linux;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue