From 8e9b4c3a665872b90b2adff452c4e4dd2ec3c74e Mon Sep 17 00:00:00 2001 From: th3r00t Date: Wed, 20 Aug 2025 14:08:08 -0400 Subject: [PATCH] Finished switching hostname to Titan --- configuration-server.nix | 1 + flake.lock | 41 +++++++++++++++++++++++++++++++++++--- flake.nix | 2 +- hardware-configuration.nix | 1 + 4 files changed, 41 insertions(+), 4 deletions(-) diff --git a/configuration-server.nix b/configuration-server.nix index e7b6d16..520abf2 100644 --- a/configuration-server.nix +++ b/configuration-server.nix @@ -13,6 +13,7 @@ ./modules/sops.nix ]; nix.settings.experimental-features = [ "nix-command" "flakes" ]; + networking.hostName = "Titan"; # Define your hostname. # Bootloader. boot = { kernelPackages = pkgs.linuxPackages_latest; diff --git a/flake.lock b/flake.lock index 91909fd..d807743 100644 --- a/flake.lock +++ b/flake.lock @@ -1,5 +1,23 @@ { "nodes": { + "disko": { + "inputs": { + "nixpkgs": "nixpkgs" + }, + "locked": { + "lastModified": 1755519972, + "narHash": "sha256-bU4nqi3IpsUZJeyS8Jk85ytlX61i4b0KCxXX9YcOgVc=", + "owner": "nix-community", + "repo": "disko", + "rev": "4073ff2f481f9ef3501678ff479ed81402caae6d", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "disko", + "type": "github" + } + }, "flake-compat": { "flake": false, "locked": { @@ -169,7 +187,7 @@ "git-hooks": "git-hooks", "hercules-ci-effects": "hercules-ci-effects", "neovim-src": "neovim-src", - "nixpkgs": "nixpkgs", + "nixpkgs": "nixpkgs_2", "treefmt-nix": "treefmt-nix" }, "locked": { @@ -223,6 +241,22 @@ } }, "nixpkgs": { + "locked": { + "lastModified": 1752596105, + "narHash": "sha256-lFNVsu/mHLq3q11MuGkMhUUoSXEdQjCHvpReaGP1S2k=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "dab3a6e781554f965bde3def0aa2fda4eb8f1708", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixpkgs-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_2": { "locked": { "lastModified": 1755113249, "narHash": "sha256-/bIVS2iP5mixEQWsaiiJ7EGLtk5Id9OehWbmTbzN6kE=", @@ -238,7 +272,7 @@ "type": "github" } }, - "nixpkgs_2": { + "nixpkgs_3": { "locked": { "lastModified": 1755078291, "narHash": "sha256-Hu/gTDoi4uy6TAKISPHQusSMy8U6xUbLSDjKBYdhDIY=", @@ -256,10 +290,11 @@ }, "root": { "inputs": { + "disko": "disko", "home-manager": "home-manager", "neovim-nightly-overlay": "neovim-nightly-overlay", "nix-index-database": "nix-index-database", - "nixpkgs": "nixpkgs_2", + "nixpkgs": "nixpkgs_3", "sops-nix": "sops-nix" } }, diff --git a/flake.nix b/flake.nix index 33ba709..fe85447 100644 --- a/flake.nix +++ b/flake.nix @@ -51,7 +51,7 @@ } ]; }; - nixosConfigurations.server = nixpkgs.lib.nixosSystem { + nixosConfigurations.Titan = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; specialArgs = { inherit overlays; }; modules = [ diff --git a/hardware-configuration.nix b/hardware-configuration.nix index ac2c0ba..0ed66d2 100644 --- a/hardware-configuration.nix +++ b/hardware-configuration.nix @@ -12,6 +12,7 @@ boot.initrd.kernelModules = [ ]; boot.kernelModules = [ ]; boot.extraModulePackages = [ ]; + networking.hostName = "Titan"; # Define your hostname. # Enables DHCP on each ethernet and wireless interface. In case of scripted networking # (the default) this is the recommended approach. When using systemd-networkd it's