add boot vars, and pass name arg
This commit is contained in:
parent
6447202f7f
commit
b153246f90
7 changed files with 279 additions and 21 deletions
|
@ -1,19 +1,29 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
options.hostName = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
default = "you-forgot-to-give-me-a-name-you-moron";
|
||||
description = "hostName";
|
||||
};
|
||||
|
||||
# Global packages
|
||||
environment.systemPackages = with pkgs; [
|
||||
#(callPackage "${builtins.fetchTarball {url = "https://github.com/ryantm/agenix/archive/main.tar.gz"; sha256 = "103slb8xy5sb68zxjjbb9d0svq8xz751a7yrg6vrz5rh4374bzgl";}}/pkgs/agenix.nix" {})
|
||||
bmon
|
||||
tcpdump
|
||||
htop
|
||||
conntrack-tools
|
||||
mtr
|
||||
dig
|
||||
molly-guard
|
||||
fastfetch
|
||||
];
|
||||
config = {
|
||||
hostName = "awendap";
|
||||
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
|
||||
# Global packages
|
||||
environment.systemPackages = with pkgs; [
|
||||
bmon
|
||||
tcpdump
|
||||
htop
|
||||
conntrack-tools
|
||||
mtr
|
||||
dig
|
||||
molly-guard
|
||||
fastfetch
|
||||
curl
|
||||
wget
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue