From 58ce7ac3947fdf2532c78aecfd8f6420f4cbe650 Mon Sep 17 00:00:00 2001 From: Wroclaw Date: Sat, 20 Jan 2024 17:43:57 +0100 Subject: [PATCH] Reorganize files --- account.nix => nix-os/account.nix | 0 adb.nix => nix-os/adb.nix | 0 configuration.nix => nix-os/core.nix | 0 {desktop => nix-os/desktop}/gnome.nix | 0 {desktop => nix-os/desktop}/kde-plasma.nix | 0 docker.nix => nix-os/docker.nix | 0 locale.nix => nix-os/locale.nix | 0 nvidia.nix => nix-os/nvidia.nix | 0 {polkit => nix-os/polkit}/disable-shutdown.nix | 0 razer.nix => nix-os/razer.nix | 0 shell.nix => nix-os/shell.nix | 0 virtualization.nix => nix-os/virtualization.nix | 0 nixos-rebuild.sh | 2 +- vm.sh | 2 +- 14 files changed, 2 insertions(+), 2 deletions(-) rename account.nix => nix-os/account.nix (100%) rename adb.nix => nix-os/adb.nix (100%) rename configuration.nix => nix-os/core.nix (100%) rename {desktop => nix-os/desktop}/gnome.nix (100%) rename {desktop => nix-os/desktop}/kde-plasma.nix (100%) rename docker.nix => nix-os/docker.nix (100%) rename locale.nix => nix-os/locale.nix (100%) rename nvidia.nix => nix-os/nvidia.nix (100%) rename {polkit => nix-os/polkit}/disable-shutdown.nix (100%) rename razer.nix => nix-os/razer.nix (100%) rename shell.nix => nix-os/shell.nix (100%) rename virtualization.nix => nix-os/virtualization.nix (100%) diff --git a/account.nix b/nix-os/account.nix similarity index 100% rename from account.nix rename to nix-os/account.nix diff --git a/adb.nix b/nix-os/adb.nix similarity index 100% rename from adb.nix rename to nix-os/adb.nix diff --git a/configuration.nix b/nix-os/core.nix similarity index 100% rename from configuration.nix rename to nix-os/core.nix diff --git a/desktop/gnome.nix b/nix-os/desktop/gnome.nix similarity index 100% rename from desktop/gnome.nix rename to nix-os/desktop/gnome.nix diff --git a/desktop/kde-plasma.nix b/nix-os/desktop/kde-plasma.nix similarity index 100% rename from desktop/kde-plasma.nix rename to nix-os/desktop/kde-plasma.nix diff --git a/docker.nix b/nix-os/docker.nix similarity index 100% rename from docker.nix rename to nix-os/docker.nix diff --git a/locale.nix b/nix-os/locale.nix similarity index 100% rename from locale.nix rename to nix-os/locale.nix diff --git a/nvidia.nix b/nix-os/nvidia.nix similarity index 100% rename from nvidia.nix rename to nix-os/nvidia.nix diff --git a/polkit/disable-shutdown.nix b/nix-os/polkit/disable-shutdown.nix similarity index 100% rename from polkit/disable-shutdown.nix rename to nix-os/polkit/disable-shutdown.nix diff --git a/razer.nix b/nix-os/razer.nix similarity index 100% rename from razer.nix rename to nix-os/razer.nix diff --git a/shell.nix b/nix-os/shell.nix similarity index 100% rename from shell.nix rename to nix-os/shell.nix diff --git a/virtualization.nix b/nix-os/virtualization.nix similarity index 100% rename from virtualization.nix rename to nix-os/virtualization.nix diff --git a/nixos-rebuild.sh b/nixos-rebuild.sh index 801d203..68b09e1 100755 --- a/nixos-rebuild.sh +++ b/nixos-rebuild.sh @@ -1 +1 @@ -NIXOS_CONFIG="$(pwd)/configuration.nix" nixos-rebuild $@ +NIXOS_CONFIG="$(pwd)/nix-os/core.nix" nixos-rebuild $@ diff --git a/vm.sh b/vm.sh index d8edd01..891de47 100755 --- a/vm.sh +++ b/vm.sh @@ -1 +1 @@ -nix-build '' -A vm -I nixpkgs=channel:nixos-23.11 -I nixos-config=./configuration.nix && $(ls ./result/bin/run-*) && rm *.qcow2 +nix-build '' -A vm -I nixpkgs=channel:nixos-23.11 -I nixos-config=./nix-os/core.nix && $(ls ./result/bin/run-*) && rm *.qcow2