moved machine nix files

This commit is contained in:
Alexander Szczepanski
2021-06-29 19:31:25 +02:00
parent 0ad79df75b
commit eee68b27a6
5 changed files with 16 additions and 16 deletions

View File

@ -2,5 +2,5 @@
sudo rsync -ah --delete --progress `pwd`/ /root/nixos/
sudo rm /etc/nixos/configuration.nix
sudo ln -s /root/nixos/machine/`hostname`/configuration.nix /etc/nixos/configuration.nix
sudo ln -s /root/nixos/machine/`hostname`.nix /etc/nixos/configuration.nix
sudo nixos-rebuild switch

View File

@ -7,10 +7,10 @@ in
imports =
[ # Include the results of the hardware scan.
/etc/nixos/hardware-configuration.nix
../../configs/gui.nix
../../configs/virtualisation.nix
../../configs/common.nix
../../configs/user.nix
../configs/gui.nix
../configs/virtualisation.nix
../configs/common.nix
../configs/user.nix
];
# Use the systemd-boot EFI boot loader.

View File

@ -4,8 +4,8 @@
imports =
[ # Include the results of the hardware scan.
/etc/nixos/hardware-configuration.nix
../../configs/common.nix
../../configs/virtualisation.nix
../configs/common.nix
../configs/virtualisation.nix
(fetchTarball "https://github.com/msteen/nixos-vscode-server/tarball/master")
];

View File

@ -17,10 +17,10 @@ in
[ # Include the results of the hardware scan.
<nixos-hardware/lenovo/thinkpad/x1-extreme>
/etc/nixos/hardware-configuration.nix
../../configs/gui.nix
../../configs/virtualisation.nix
../../configs/common.nix
../../configs/user.nix
../configs/gui.nix
../configs/virtualisation.nix
../configs/common.nix
../configs/user.nix
];
# boot.initrd.luks.devices = {

View File

@ -4,8 +4,8 @@
imports =
[ # Include the results of the hardware scan.
/etc/nixos/hardware-configuration.nix
../../configs/common.nix
../../configs/virtualisation.nix
../configs/common.nix
../configs/virtualisation.nix
(fetchTarball "https://github.com/msteen/nixos-vscode-server/tarball/master")
];