nix/os: fix /bin activation and some cleanup
This commit is contained in:
parent
f94d349398
commit
4ded9d0d70
2 changed files with 1 additions and 5 deletions
|
@ -1,11 +1,6 @@
|
||||||
{ ... }:
|
{ ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
nixpkgs.config = {
|
|
||||||
allowBroken = false;
|
|
||||||
allowUnfree = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
../../profiles/common/configuration.nix
|
../../profiles/common/configuration.nix
|
||||||
../../profiles/graphical/configuration.nix
|
../../profiles/graphical/configuration.nix
|
||||||
|
|
|
@ -48,6 +48,7 @@
|
||||||
# Activation scripts for impure set up of paths in /
|
# Activation scripts for impure set up of paths in /
|
||||||
system.activationScripts.bin = ''
|
system.activationScripts.bin = ''
|
||||||
echo "setting up /bin..."
|
echo "setting up /bin..."
|
||||||
|
mkdir -p /bin
|
||||||
ln -sfT ${pkgs.bash}/bin/bash /bin/.bash
|
ln -sfT ${pkgs.bash}/bin/bash /bin/.bash
|
||||||
mv -Tf /bin/.bash /bin/bash
|
mv -Tf /bin/.bash /bin/bash
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue