summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--flake.lock (renamed from nixos/flake.lock)0
-rw-r--r--flake.nix (renamed from nixos/flake.nix)4
-rw-r--r--hosts/laptop-nixos/configuration.nix (renamed from nixos/hosts/default/configuration.nix)2
-rw-r--r--hosts/laptop-nixos/hardware-configuration.nix (renamed from nixos/hosts/default/hardware-configuration.nix)0
-rw-r--r--hosts/laptop-nixos/home.nix (renamed from nixos/hosts/default/home.nix)1
5 files changed, 4 insertions, 3 deletions
diff --git a/nixos/flake.lock b/flake.lock
index 47ba81f..47ba81f 100644
--- a/nixos/flake.lock
+++ b/flake.lock
diff --git a/nixos/flake.nix b/flake.nix
index d58f4b7..bc97385 100644
--- a/nixos/flake.nix
+++ b/flake.nix
@@ -19,10 +19,10 @@
in
{
nixosConfigurations = {
- default = nixpkgs.lib.nixosSystem {
+ laptop-nixos = nixpkgs.lib.nixosSystem {
specialArgs = {inherit inputs pkgs;};
modules = [
- ./hosts/default/configuration.nix
+ ./hosts/laptop-nixos/configuration.nix
];
};
};
diff --git a/nixos/hosts/default/configuration.nix b/hosts/laptop-nixos/configuration.nix
index e623c0a..26437c5 100644
--- a/nixos/hosts/default/configuration.nix
+++ b/hosts/laptop-nixos/configuration.nix
@@ -15,7 +15,7 @@
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
- networking.hostName = "nixos"; # Define your hostname.
+ networking.hostName = "laptop-nixos"; # Define your hostname.
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
nix.settings.experimental-features = [ "nix-command" "flakes" ];
diff --git a/nixos/hosts/default/hardware-configuration.nix b/hosts/laptop-nixos/hardware-configuration.nix
index f8cb10a..f8cb10a 100644
--- a/nixos/hosts/default/hardware-configuration.nix
+++ b/hosts/laptop-nixos/hardware-configuration.nix
diff --git a/nixos/hosts/default/home.nix b/hosts/laptop-nixos/home.nix
index 0895631..59167a1 100644
--- a/nixos/hosts/default/home.nix
+++ b/hosts/laptop-nixos/home.nix
@@ -83,6 +83,7 @@
# /etc/profiles/per-user/kyren/etc/profile.d/hm-session-vars.sh
#
home.sessionVariables = {
+ FLAKE = ~/dotfiles/
};
# Let Home Manager install and manage itself.