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 rsync -ah --delete --progress `pwd`/ /root/nixos/
sudo rm /etc/nixos/configuration.nix 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 sudo nixos-rebuild switch

View File

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

View File

@ -4,8 +4,8 @@
imports = imports =
[ # Include the results of the hardware scan. [ # Include the results of the hardware scan.
/etc/nixos/hardware-configuration.nix /etc/nixos/hardware-configuration.nix
../../configs/common.nix ../configs/common.nix
../../configs/virtualisation.nix ../configs/virtualisation.nix
(fetchTarball "https://github.com/msteen/nixos-vscode-server/tarball/master") (fetchTarball "https://github.com/msteen/nixos-vscode-server/tarball/master")
]; ];
@ -71,7 +71,7 @@
systemd.mounts = [ systemd.mounts = [
{ {
requires = [ requires = [
"mnt-disk1.mount" "mnt-disk1.mount"
"mnt-disk2.mount" "mnt-disk2.mount"
"mnt-disk3.mount" "mnt-disk3.mount"
@ -171,7 +171,7 @@
guest account = nobody guest account = nobody
map to guest = bad user map to guest = bad user
logging = systemd logging = systemd
max log size = 50 max log size = 50
''; '';
shares = { shares = {
storage = { storage = {

View File

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

View File

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