making HM work better
This commit is contained in:
parent
2aec145bde
commit
099e11b74e
2 changed files with 9 additions and 7 deletions
|
@ -2,7 +2,7 @@
|
|||
description = "A very basic flake";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "nixpkgs/nixos-unstable";
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
home-manager.url = "github:nix-community/home-manager/master";
|
||||
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
@ -10,6 +10,7 @@
|
|||
outputs = { nixpkgs, home-manager, ... }:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
username = "chris";
|
||||
|
||||
pkgs = import nixpkgs {
|
||||
inherit system;
|
||||
|
@ -18,16 +19,16 @@
|
|||
|
||||
lib = nixpkgs.lib;
|
||||
in {
|
||||
homeManagerConfigurations = {
|
||||
homeConfigurations = {
|
||||
chris = home-manager.lib.homeManagerConfiguration {
|
||||
inherit system pkgs;
|
||||
username = "chris";
|
||||
inherit system pkgs username;
|
||||
homeDirectory = "/home/chris";
|
||||
configuration = {
|
||||
imports = [
|
||||
./user/home.nix
|
||||
];
|
||||
};
|
||||
stateVersion = "22.05";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue