all repos — nixfiles @ b710b6058767cf1d7c780f7e93aea6f52ad021c5

System and user configuration, managed by nix and home-manager

Create shim home-manager modules

Alan Pearce
commit

b710b6058767cf1d7c780f7e93aea6f52ad021c5

parent

d0200a6b07e497d07dff2cfe0857f4dceb724b58

A modules/autorandr.nix
@@ -0,0 +1,8 @@
+{ config, pkgs, ... }: + +{ + xdg.configFile.autorandr = { + recursive = true; + source = ../autorandr/.config/autorandr; + }; +}
A modules/base.nix
@@ -0,0 +1,6 @@
+{ config, pkgs, ... }: + +{ + # Let Home Manager install and manage itself. + programs.home-manager.enable = true; +}
A modules/dunst.nix
@@ -0,0 +1,8 @@
+{ config, pkgs, ... }: + +{ + xdg.configFile.dunst = { + recursive = true; + source = ../dunst/.config/dunst; + }; +}
A modules/emacs.nix
@@ -0,0 +1,9 @@
+{ config, pkgs, ... }: + +{ + home.file.".emacs.d" = { + recursive = true; + source = ../emacs/.emacs.d; + }; + home.file.".local/share/applications/emacsclient.desktop".source = ../emacs/.local/share/applications/emacsclient.desktop; +}
A modules/git.nix
@@ -0,0 +1,8 @@
+{ config, pkgs, ... }: + +{ + xdg.configFile.git = { + recursive = true; + source = ../git/.config/git; + }; +}
A modules/gnupg.nix
@@ -0,0 +1,8 @@
+{ config, pkgs, ... }: + +{ + home.file.".gnupg" = { + recursive = true; + source = ../gnupg/.gnupg; + }; +}
A modules/i3.nix
@@ -0,0 +1,12 @@
+{ config, pkgs, ... }: + +{ + xdg.configFile.i3 = { + recursive = true; + source = ../i3/.config/i3; + }; + xdg.configFile.i3status = { + recursive = true; + source = ../i3/.config/i3status; + }; +}
A modules/isync.nix
@@ -0,0 +1,5 @@
+{ config, pkgs, ... }: + +{ + home.file.".mbsyncrc".source = ../isync/.mbsyncrc; +}
A modules/ledger.nix
@@ -0,0 +1,5 @@
+{ config, pkgs, ... }: + +{ + home.file.".ledgerrc".source = ../ledger/.ledgerrc; +}
A modules/msmtp.nix
@@ -0,0 +1,5 @@
+{ config, pkgs, ... }: + +{ + home.file.".msmtprc".source = ../msmtp/.msmtprc; +}
A modules/nix.nix
@@ -0,0 +1,6 @@
+{ config, pkgs, ... }: + +{ + nixpkgs.config = import ../nix/.config/nixpkgs/config.nix; + xdg.configFile."nixpkgs.config.nix".source = ../nix/.config/nixpkgs/config.nix; +}
A modules/npm.nix
@@ -0,0 +1,5 @@
+{ config, pkgs, ... }: + +{ + home.file.".npmrc".source = ../javascript/.npmrc; +}
A modules/rofi.nix
@@ -0,0 +1,12 @@
+{ config, pkgs, ... }: + +{ + xdg.configFile.rofi = { + recursive = true; + source = ../rofi/.config/rofi; + }; + xdg.configFile.rofi-pass = { + recursive = true; + source = ../rofi/.config/rofi-pass; + }; +}
A modules/sxhkd.nix
@@ -0,0 +1,8 @@
+{ config, pkgs, ... }: + +{ + xdg.configFile.sxhkd = { + recursive = true; + source = ../sxhkd/.config/sxhkd; + }; +}
A modules/tabnine.nix
@@ -0,0 +1,8 @@
+{ config, pkgs, ... }: + +{ + xdg.configFile.TabNine = { + recursive = true; + source = ../tabnine/.config/TabNine; + }; +}
A modules/trezor.nix
@@ -0,0 +1,9 @@
+{ config, pkgs, ... }: + +{ + home.file.".ssh/agent.config" = { + text = '' + ecdsa-curve-name = ed25519 + ''; + }; +}
A modules/xresources.nix
@@ -0,0 +1,8 @@
+{ config, pkgs, ... }: + +{ + home.file.".xresources" = { + recursive = true; + source = ../xresources/.xresources; + }; +}
A modules/zsh.nix
@@ -0,0 +1,12 @@
+{ config, pkgs, ... }: + +{ + home.file = { + ".rm_recycle_home".text = ""; # use trash automatically in home directory + ".zshenv".text = builtins.readFile ../zsh/.zshenv; + }; + xdg.configFile.zsh = { + recursive = true; + source = ../zsh/.config/zsh; + }; +}