diff --git a/configuration.nix b/configuration.nix index dda7a61..be95162 100644 --- a/configuration.nix +++ b/configuration.nix @@ -14,7 +14,7 @@ boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; - networking.hostName = "nixos"; # Define your hostname. + networking.hostName = "nixos-ytd"; # Define your hostname. # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. # Configure network proxy if necessary diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..6374067 --- /dev/null +++ b/flake.nix @@ -0,0 +1,21 @@ +{ + + description = "Kyler Olsen's flake"; + + input = { + nixpkgs.url = "nixpkgs/nixos-24.11"; + }; + + output = { self, nixpkgs, ... } : + let + lib = nixpkgs.lib; + in { + nixosConfigurations = { + nixos-ytd = lib.nixosSystem { + system = "x86_64-linux"; + modules = [ ./configuration.nix ]; + }; + }; + }; + +}