parent
a9e5861b3f
commit
998846e2b0
@ -0,0 +1,48 @@ |
||||
{ |
||||
"nodes": { |
||||
"home-manager": { |
||||
"inputs": { |
||||
"nixpkgs": [ |
||||
"nixpkgs" |
||||
] |
||||
}, |
||||
"locked": { |
||||
"lastModified": 1713294767, |
||||
"narHash": "sha256-LmaabaQZdx52MPGKPRt9Opoc9Gd9RbwvCdysUUYQoXI=", |
||||
"owner": "nix-community", |
||||
"repo": "home-manager", |
||||
"rev": "fa8c16e2452bf092ac76f09ee1fb1e9f7d0796e7", |
||||
"type": "github" |
||||
}, |
||||
"original": { |
||||
"owner": "nix-community", |
||||
"repo": "home-manager", |
||||
"type": "github" |
||||
} |
||||
}, |
||||
"nixpkgs": { |
||||
"locked": { |
||||
"lastModified": 1713145326, |
||||
"narHash": "sha256-m7+IWM6mkWOg22EC5kRUFCycXsXLSU7hWmHdmBfmC3s=", |
||||
"owner": "nixos", |
||||
"repo": "nixpkgs", |
||||
"rev": "53a2c32bc66f5ae41a28d7a9a49d321172af621e", |
||||
"type": "github" |
||||
}, |
||||
"original": { |
||||
"owner": "nixos", |
||||
"ref": "nixos-23.11", |
||||
"repo": "nixpkgs", |
||||
"type": "github" |
||||
} |
||||
}, |
||||
"root": { |
||||
"inputs": { |
||||
"home-manager": "home-manager", |
||||
"nixpkgs": "nixpkgs" |
||||
} |
||||
} |
||||
}, |
||||
"root": "root", |
||||
"version": 7 |
||||
} |
||||
@ -0,0 +1,38 @@ |
||||
{ |
||||
description = "A very basic flake"; |
||||
|
||||
inputs = { |
||||
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-23.11"; |
||||
home-manager = { |
||||
url = github:nix-community/home-manager; |
||||
inputs.nixpkgs.follows = "nixpkgs"; |
||||
}; |
||||
}; |
||||
|
||||
outputs = { self, nixpkgs, home-manager, ... }@inputs: |
||||
let |
||||
username = "chrigi"; |
||||
lib = nixpkgs.lib; |
||||
in { |
||||
nixosConfigurations.nix-f16 = lib.nixosSystem { |
||||
system = "x86_64-linux"; |
||||
modules = [ |
||||
./configuration.nix |
||||
]; |
||||
}; |
||||
# home-manager-config = { |
||||
# fw16-chrigi = home-manager.lib.homeManagerConfiguration { |
||||
# inherit system pkgs; |
||||
# username = ${username}; |
||||
# homeDirectory = "/home/${username}"; |
||||
# stateVersion = "23.11"; |
||||
# configuration = { |
||||
# imports = [ |
||||
# ./home.nix |
||||
# ]; |
||||
# }; |
||||
# }; |
||||
# }; |
||||
}; |
||||
} |
||||
|
||||
Loading…
Reference in new issue