mirror of
https://github.com/sadan4/dotfiles.git
synced 2025-01-18 11:13:30 -05:00
add hostname envvar
This commit is contained in:
parent
5724c6efad
commit
7dd6913f08
1 changed files with 27 additions and 19 deletions
|
@ -1,25 +1,29 @@
|
||||||
# Edit this configuration file to define what should be installed onconfiguraticonfig
|
# Edit this configuration file to define what should be installed onconfiguraticonfig
|
||||||
# your system. Help is available in the configuration.nix(5) man page, on
|
# your system. Help is available in the configuration.nix(5) man page, on
|
||||||
# https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
|
# https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
|
||||||
{config, pkgs, inputs, ...}:
|
|
||||||
{
|
{
|
||||||
imports =
|
config,
|
||||||
[
|
pkgs,
|
||||||
# Include the results of the hardware scan.
|
inputs,
|
||||||
./hardware-configuration.nix
|
...
|
||||||
../../common/systemModules/boot.nix
|
}:
|
||||||
../../common/systemModules/folding.nix
|
{
|
||||||
../../common/systemModules/kernel.nix
|
imports = [
|
||||||
../../common/systemModules/audio.nix
|
# Include the results of the hardware scan.
|
||||||
../../common/systemModules/kde.nix
|
./hardware-configuration.nix
|
||||||
../../common/systemModules/tailscale.nix
|
../../common/systemModules/boot.nix
|
||||||
../../common/systemModules/gaming.nix
|
../../common/systemModules/folding.nix
|
||||||
../../common/systemModules/crypt.nix
|
../../common/systemModules/kernel.nix
|
||||||
../../common/systemModules/printing.nix
|
../../common/systemModules/audio.nix
|
||||||
../../common/systemModules/stylix.nix
|
../../common/systemModules/kde.nix
|
||||||
# USERS
|
../../common/systemModules/tailscale.nix
|
||||||
../../common/users/meyer
|
../../common/systemModules/gaming.nix
|
||||||
];
|
../../common/systemModules/crypt.nix
|
||||||
|
../../common/systemModules/printing.nix
|
||||||
|
../../common/systemModules/stylix.nix
|
||||||
|
# USERS
|
||||||
|
../../common/users/meyer
|
||||||
|
];
|
||||||
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
|
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
|
||||||
nix.settings.extra-platforms = config.boot.binfmt.emulatedSystems;
|
nix.settings.extra-platforms = config.boot.binfmt.emulatedSystems;
|
||||||
hardware.i2c.enable = true;
|
hardware.i2c.enable = true;
|
||||||
|
@ -27,10 +31,14 @@
|
||||||
services.xserver.videoDrivers = [ "amdgpu" ];
|
services.xserver.videoDrivers = [ "amdgpu" ];
|
||||||
hardware.bluetooth.enable = true;
|
hardware.bluetooth.enable = true;
|
||||||
networking.hostName = "nix-desktop-evo4b5"; # Define your hostname.
|
networking.hostName = "nix-desktop-evo4b5"; # Define your hostname.
|
||||||
|
environment.sessionVariables = {
|
||||||
|
HOSTNAME = config.networking.hostName;
|
||||||
|
};
|
||||||
# Set your time zone.
|
# Set your time zone.
|
||||||
time.timeZone = "America/New_York";
|
time.timeZone = "America/New_York";
|
||||||
|
|
||||||
|
nix.nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
|
||||||
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
nix.settings.experimental-features = [
|
nix.settings.experimental-features = [
|
||||||
"nix-command"
|
"nix-command"
|
||||||
|
|
Loading…
Reference in a new issue