formatting
This commit is contained in:
parent
9ecc8a3f6e
commit
f351830304
|
@ -1,13 +1,16 @@
|
||||||
# welcome to saturnOS config, run nixos-help if you need it .
|
# welcome to saturnOS config, run nixos-help if you need it .
|
||||||
{ config, pkgs, lib, ... }:
|
{ config, pkgs, lib, ... }:
|
||||||
let
|
let
|
||||||
unstableTarball = builtins.fetchTarball "https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz";
|
unstableTarball = builtins.fetchTarball
|
||||||
homeManagerTarball = builtins.fetchTarball "https://github.com/nix-community/home-manager/archive/master.tar.gz";
|
"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";
|
homeManager = import "${homeManagerTarball}/nixos";
|
||||||
deviceConf = import "/home/${sysConf.user}/.saturn/hosts/${sysConf.host}/";
|
deviceConf = import "/home/${sysConf.user}/.saturn/hosts/${sysConf.host}/";
|
||||||
unstable = import unstableTarball config.nixpkgs.config;
|
unstable = import unstableTarball config.nixpkgs.config;
|
||||||
sysConf = import ./saturn/system.nix;
|
sysConf = import ./saturn/system.nix;
|
||||||
in {
|
in {
|
||||||
|
testingthing = "./hosts/${config.saturn.hostname}"
|
||||||
imports = [
|
imports = [
|
||||||
homeManager
|
homeManager
|
||||||
deviceConf
|
deviceConf
|
||||||
|
|
|
@ -21,5 +21,5 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
config.networking.hostName = config.saturn.hostname;
|
config.networking.hostName = config.saturn.hostname;
|
||||||
config.environment.machineInfo.prettyHostname = config.saturn.prettyHostname;
|
config.environment.machineInfo.prettyHostname = config.saturn.prettyHostname;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue