Move the NixOS config into the user's directory
This commit is contained in:
parent
9946d500f7
commit
57201099fb
6 changed files with 22 additions and 25 deletions
|
@ -1,7 +1,7 @@
|
|||
{ ... }:
|
||||
{ config, ... }:
|
||||
{
|
||||
programs.nh = {
|
||||
enable = true;
|
||||
flake = "/etc/nixos";
|
||||
flake = "${config.home.homeDirectory}/Projects/nixos-config";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -97,23 +97,23 @@
|
|||
file = {
|
||||
".local/share/ranger/bookmarks".text = ''
|
||||
# Local files
|
||||
h:/home/${config.home.username}/
|
||||
k:/home/${config.home.username}/Keepers
|
||||
j:/home/${config.home.username}/Downloads
|
||||
v:/home/${config.home.username}/Videos
|
||||
c:/home/${config.home.username}/.config
|
||||
l:/home/${config.home.username}/.local
|
||||
h:${config.home.homeDirectory}/
|
||||
k:${config.home.homeDirectory}/Keepers
|
||||
j:${config.home.homeDirectory}/Downloads
|
||||
v:${config.home.homeDirectory}/Videos
|
||||
n:${config.home.homeDirectory}/Projects/nixos-config
|
||||
c:${config.home.homeDirectory}/.config
|
||||
l:${config.home.homeDirectory}/.local
|
||||
d:/mnt
|
||||
p:/persist
|
||||
n:/etc/nixos
|
||||
|
||||
# Remote files
|
||||
N:/home/${config.home.username}/Network
|
||||
H:/home/${config.home.username}/Network/Midas/
|
||||
K:/home/${config.home.username}/Network/Midas/Files
|
||||
M:/home/${config.home.username}/Network/Midas/Music
|
||||
V:/home/${config.home.username}/Network/Midas/Videos
|
||||
P:/home/${config.home.username}/Network/Midas/Photos
|
||||
N:${config.home.homeDirectory}/Network
|
||||
H:${config.home.homeDirectory}/Network/Midas/
|
||||
K:${config.home.homeDirectory}/Network/Midas/Files
|
||||
M:${config.home.homeDirectory}/Network/Midas/Music
|
||||
V:${config.home.homeDirectory}/Network/Midas/Videos
|
||||
P:${config.home.homeDirectory}/Network/Midas/Photos
|
||||
'';
|
||||
};
|
||||
packages = with pkgsStable; [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue