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 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
|
||||||
|
@ -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.
|
@ -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 = {
|
@ -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 = {
|
@ -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")
|
||||||
];
|
];
|
||||||
|
|
Reference in New Issue
Block a user