diff --git a/default.nix b/default.nix index 128f62e..b0cac55 100644 --- a/default.nix +++ b/default.nix @@ -1,13 +1,16 @@ # welcome to saturnOS config, run nixos-help if you need it . { config, pkgs, lib, ... }: let - unstableTarball = builtins.fetchTarball "https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz"; - homeManagerTarball = builtins.fetchTarball "https://github.com/nix-community/home-manager/archive/master.tar.gz"; + unstableTarball = builtins.fetchTarball + "https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz"; + homeManagerTarball = builtins.fetchTarball + "https://github.com/nix-community/home-manager/archive/master.tar.gz"; homeManager = import "${homeManagerTarball}/nixos"; deviceConf = import "/home/${sysConf.user}/.saturn/hosts/${sysConf.host}/"; unstable = import unstableTarball config.nixpkgs.config; sysConf = import ./saturn/system.nix; in { + testingthing = "./hosts/${config.saturn.hostname}" imports = [ homeManager deviceConf diff --git a/modules/saturnConfig.nix b/modules/saturnConfig.nix index eb73f72..9767b36 100644 --- a/modules/saturnConfig.nix +++ b/modules/saturnConfig.nix @@ -21,5 +21,5 @@ }; }; config.networking.hostName = config.saturn.hostname; - config.environment.machineInfo.prettyHostname = config.saturn.prettyHostname; + config.environment.machineInfo.prettyHostname = config.saturn.prettyHostname; }