mirror of
https://github.com/davegallant/nix-config
synced 2025-08-05 10:33:39 +00:00
move home-manager nix from ~/.config/nixpkgs to ~/nix
This commit is contained in:
@@ -1 +0,0 @@
|
||||
{ allowUnfree = true; }
|
10
README.md
10
README.md
@@ -6,6 +6,8 @@ This repo stores nix expressions and other configuration.
|
||||
|
||||
## Setup
|
||||
|
||||
## git
|
||||
|
||||
Clone this as a bare repo to avoid the need for symlinking:
|
||||
|
||||
```console
|
||||
@@ -14,3 +16,11 @@ $ alias config='git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME' # add alias to
|
||||
$ config config --local status.showUntrackedFiles no
|
||||
$ config checkout -f # this will overwrite any existing configs in the home directory
|
||||
```
|
||||
|
||||
## home manager
|
||||
|
||||
Install [nix](https://nixos.org/guides/install-nix.html) and [home-manager](https://github.com/nix-community/home-manager).
|
||||
|
||||
```console
|
||||
$ home-manager -f ~/nix/home.nix switch
|
||||
```
|
||||
|
@@ -1,6 +1,8 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
nixpkgs.overlays = import ./overlays { inherit pkgs; };
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
home = {
|
||||
sessionVariables = {
|
7
nix/overlays/default.nix
Normal file
7
nix/overlays/default.nix
Normal file
@@ -0,0 +1,7 @@
|
||||
{ ... }:
|
||||
|
||||
[
|
||||
(import ./rfd.nix)
|
||||
(import ./lastpass.nix)
|
||||
]
|
||||
|
@@ -19,6 +19,9 @@ with pkgs; [
|
||||
unzip
|
||||
zip
|
||||
|
||||
# education
|
||||
anki
|
||||
|
||||
# monitoring
|
||||
htop
|
||||
|
Reference in New Issue
Block a user