diff options
-rw-r--r-- | flake.lock | 22 | ||||
-rw-r--r-- | flake.nix | 4 | ||||
-rw-r--r-- | machines/firelink.nix | 1 |
3 files changed, 26 insertions, 1 deletions
@@ -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", @@ -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 |