aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-02-07 19:33:29 -0800
committerFranck Cuny <franck@fcuny.net>2022-02-07 19:33:29 -0800
commite2e2ec09cd0c4fae54870eb58b2e74ab2e6275ff (patch)
tree836c48c976705c9712e8bee4356ba708eae76812 /flake.nix
parentflake: install my user on carmel (diff)
downloadinfra-e2e2ec09cd0c4fae54870eb58b2e74ab2e6275ff.tar.gz
flake: pull home-manager and unstable
Diffstat (limited to '')
-rw-r--r--flake.nix11
1 files changed, 10 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix
index 2ef06b3..d84a40f 100644
--- a/flake.nix
+++ b/flake.nix
@@ -4,10 +4,19 @@
inputs = {
# Nixpkgs, NixOS's official repo
nixpkgs.url = "github:nixos/nixpkgs/release-21.11";
+
+ # We use the unstable nixpkgs repo for some packages.
+ nixpkgs-unstable.url = "github:nixos/nixpkgs/nixpkgs-unstable";
+
+ home-manager = {
+ url = "github:nix-community/home-manager/release-21.11";
+ # We want home-manager to use the same set of nixpkgs as our system.
+ inputs.nixpkgs.follows = "nixpkgs";
+ };
};
# Output config, or config for NixOS system
- outputs = { self, nixpkgs, ... }@inputs: {
+ outputs = { self, nixpkgs, home-manager, ... }@inputs: {
nixosConfigurations = {
# desktop
carmel = nixpkgs.lib.nixosSystem {