Made hostname variable (set in flake). Added ncli as a tool for fast nix specific commands (ncli.nix).
This commit is contained in:
@ -10,7 +10,7 @@
|
||||
|
||||
#Nix flake file limit: ulimit -n 500000
|
||||
|
||||
{ inputs, config, pkgs, lib, username, version, system, ... }:
|
||||
{ inputs, config, pkgs, lib, username, host, version, system, ... }:
|
||||
{
|
||||
# stylix.enable = true;
|
||||
# stylix.image = /etc/nixos/other/wallpaper.png;
|
||||
@ -85,7 +85,7 @@
|
||||
#Apply
|
||||
#Manage flags -> Add bios_grub
|
||||
|
||||
networking.hostName = "nixos";
|
||||
networking.hostName = host;
|
||||
# Define your hostname.
|
||||
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||||
|
||||
@ -98,7 +98,7 @@
|
||||
useUserPackages = true;
|
||||
users.${username} = ./home.nix;
|
||||
backupFileExtension = "backup"; # Automatically backs up conflicting files during activation
|
||||
extraSpecialArgs = { inherit inputs username version system; };
|
||||
extraSpecialArgs = { inherit inputs username version system host; };
|
||||
};
|
||||
|
||||
# Enable networking
|
||||
|
||||
Reference in New Issue
Block a user