From c23efeedb3357b1804da4cd0db58c42df6c74ad3 Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Wed, 24 Feb 2021 22:14:56 -0500 Subject: add home-manager dependency --- flake.lock | 22 ++++++++++++++++++++++ flake.nix | 4 +++- machines/firelink.nix | 1 + 3 files changed, 26 insertions(+), 1 deletion(-) diff --git a/flake.lock b/flake.lock index 35c0efa..edfb12e 100644 --- a/flake.lock +++ b/flake.lock @@ -1,5 +1,26 @@ { "nodes": { + "home-manager": { + "inputs": { + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1614109058, + "narHash": "sha256-UMphcAfZ4nsDO6ai0cWZDunO6AvyQj+yvMWevZVnKvg=", + "owner": "rycee", + "repo": "home-manager", + "rev": "e7b1491fb8dfb1d2bdb90432312e88d03c8d803d", + "type": "github" + }, + "original": { + "owner": "rycee", + "ref": "master", + "repo": "home-manager", + "type": "github" + } + }, "nix": { "inputs": { "nixpkgs": [ @@ -71,6 +92,7 @@ }, "root": { "inputs": { + "home-manager": "home-manager", "nix": "nix", "nixos-hardware": "nixos-hardware", "nixpkgs": "nixpkgs", diff --git a/flake.nix b/flake.nix index ed11cda..2de484b 100644 --- a/flake.nix +++ b/flake.nix @@ -2,13 +2,15 @@ inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-20.09"; inputs.nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable"; inputs.nixos-hardware.url = github:NixOS/nixos-hardware/master; + inputs.home-manager.url = "github:rycee/home-manager/master"; + inputs.home-manager.inputs.nixpkgs.follows = "nixpkgs"; # TODO: Remove nix overlay when pull request is resolved: # https://github.com/NixOS/nix/pull/4566 inputs.nix.url = "github:orbekk/nix/master"; inputs.nix.inputs.nixpkgs.follows = "nixpkgs"; - outputs = { self, nixpkgs, nixpkgs-unstable, nix, nixos-hardware }: + outputs = { self, nixpkgs, nixpkgs-unstable, nix, nixos-hardware, home-manager }: { nixosConfigurations = let mkConfig = { hostName diff --git a/machines/firelink.nix b/machines/firelink.nix index 63fe3ac..22c42eb 100644 --- a/machines/firelink.nix +++ b/machines/firelink.nix @@ -31,6 +31,7 @@ in ]; environment.systemPackages = with pkgs; [ + openmw kodi retroarch wmctrl # for steam launcher -- cgit v1.2.3