moved machine nix files
This commit is contained in:
2
apply.sh
2
apply.sh
@ -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
|
@ -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.
|
@ -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")
|
||||
];
|
||||
|
@ -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 = {
|
@ -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")
|
||||
];
|
||||
|
Reference in New Issue
Block a user