Add nixOS/ home-manager-related files

old-yadm
earnest ma 2021-08-02 15:04:24 -04:00
parent 9511ad2b72
commit 147c1e40ff
Signed by: earnest ma
GPG Key ID: A343F43342EB6E2A
2 changed files with 31 additions and 0 deletions

29
.config/nixpkgs/home.nix Normal file
View File

@ -0,0 +1,29 @@
{ config, pkgs, ... }:
let
# Be able to use unstable packages
pkgsUnstable = import <nixpkgs-unstable> {};
in
{ # Required
programs.home-manager.enable = true;
home.username = "earne";
home.homeDirectory = "/home/earne";
home.packages = with pkgs; [
gitFull
pkgsUnstable.neovim
tmux
yadm
];
# This value determines the Home Manager release that your
# configuration is compatible with. This helps avoid breakage
# when a new Home Manager release introduces backwards
# incompatible changes.
#
# You can update Home Manager without changing this value. See
# the Home Manager release notes for a list of state version
# changes in each release.
home.stateVersion = "21.05";
}

2
.nix-channels Normal file
View File

@ -0,0 +1,2 @@
https://github.com/nix-community/home-manager/archive/release-21.05.tar.gz home-manager
https://nixos.org/channels/nixos-unstable nixpkgs-unstable