From 62afc72fae3ab05f548a515576459f2676577e7f Mon Sep 17 00:00:00 2001 From: akulij Date: Sat, 15 Feb 2025 14:10:22 +0000 Subject: [PATCH] move configuration to hosts folder structure --- flake.nix | 2 +- configuration.nix => hosts/pc/configuration.nix | 5 +++++ disk-config.nix => hosts/pc/disk-config.nix | 0 .../pc/hardware-configuration.nix | 0 4 files changed, 6 insertions(+), 1 deletion(-) rename configuration.nix => hosts/pc/configuration.nix (97%) rename disk-config.nix => hosts/pc/disk-config.nix (100%) rename hardware-configuration.nix => hosts/pc/hardware-configuration.nix (100%) diff --git a/flake.nix b/flake.nix index 43d7c82..07c6f03 100644 --- a/flake.nix +++ b/flake.nix @@ -9,7 +9,7 @@ system = "x86_64-linux"; modules = [ disko.nixosModules.disko - ./configuration.nix + ./hosts/pc/configuration.nix ]; }; }; diff --git a/configuration.nix b/hosts/pc/configuration.nix similarity index 97% rename from configuration.nix rename to hosts/pc/configuration.nix index 0ab7646..b978286 100644 --- a/configuration.nix +++ b/hosts/pc/configuration.nix @@ -107,6 +107,11 @@ in pkgs.gamescope ]; + programs.git.config.user = { + name = "akulij"; + email = "aakulij@gmail.com"; + }; + users.users.akulij = { isNormalUser = true; extraGroups = [ "wheel" ]; diff --git a/disk-config.nix b/hosts/pc/disk-config.nix similarity index 100% rename from disk-config.nix rename to hosts/pc/disk-config.nix diff --git a/hardware-configuration.nix b/hosts/pc/hardware-configuration.nix similarity index 100% rename from hardware-configuration.nix rename to hosts/pc/hardware-configuration.nix