tidying
This commit is contained in:
parent
4049c17abd
commit
4c752c1889
3 changed files with 43 additions and 43 deletions
|
|
@ -2,7 +2,7 @@
|
|||
## https://nix-community.github.io/home-manager/options.xhtml#opt-home.file
|
||||
## https://nix-community.github.io/home-manager/options.xhtml#opt-home.activation
|
||||
|
||||
{ inputs, outputs, pkgs, config, flakePath, disksPath, primaryUser, ... }:
|
||||
{ inputs, outputs, pkgs, config, flakePath, disksPath, user, ... }:
|
||||
|
||||
{
|
||||
|
||||
|
|
@ -18,7 +18,7 @@
|
|||
#'';
|
||||
|
||||
## Mounts Asphodel to typical media location
|
||||
#fileSystems."/run/media/${primaryUser}/Asphodel".device =
|
||||
#fileSystems."/run/media/${user}/Asphodel".device =
|
||||
#"/dev/mapper/Asphodel";
|
||||
|
||||
#home.file = { # Files and directories to copy to ${homeDir}
|
||||
|
|
@ -26,7 +26,7 @@
|
|||
## Example format for home.file
|
||||
#"Foo" = { # Name for the copied file
|
||||
#source = ./Foo; # Source is relative to this file
|
||||
#target = "Desired/Path/To/Foo"; # Target path for Foo within ${homeDir}
|
||||
#target = "Desired/Path/To/Foo"; # Target path for Foo within ${homeDirectory}
|
||||
#recursive = true; # Unsure if necessary for most things
|
||||
#};
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{ inputs, outputs, lib, config, pkgs, primaryUser, homeDir, flakePath, disksPath
|
||||
{ inputs, outputs, lib, config, pkgs, user, homeDirectory, flakePath, disksPath
|
||||
, ... }:
|
||||
|
||||
{
|
||||
|
|
@ -17,10 +17,10 @@
|
|||
supportsDryActivation = false;
|
||||
## Prints status of run commmand with a cute message if successful
|
||||
text = ''
|
||||
cd ~ && ln -s Disks /run/media/${primaryUser}/*
|
||||
cd ~ && ln -s Disks /run/media/${user}/*
|
||||
echo "Current variables required are:"
|
||||
echo "primaryUser - ${primaryUser}"
|
||||
echo "homeDir - ${homeDir}"
|
||||
echo "primaryUser - ${user}"
|
||||
echo "homeDir - ${homeDirectory}"
|
||||
echo "current paths linked are:"
|
||||
echo "flakePath - ${flakePath}"
|
||||
echo "disksPath - ${disksPath}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue