moved machine nix files
This commit is contained in:
4
apply.sh
4
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 nixos-rebuild switch
|
||||
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")
|
||||
];
|
||||
|
||||
@ -71,7 +71,7 @@
|
||||
|
||||
systemd.mounts = [
|
||||
{
|
||||
requires = [
|
||||
requires = [
|
||||
"mnt-disk1.mount"
|
||||
"mnt-disk2.mount"
|
||||
"mnt-disk3.mount"
|
||||
@ -171,7 +171,7 @@
|
||||
guest account = nobody
|
||||
map to guest = bad user
|
||||
logging = systemd
|
||||
max log size = 50
|
||||
max log size = 50
|
||||
'';
|
||||
shares = {
|
||||
storage = {
|
@ -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