This commit is contained in:
Joseph Hanson 2024-06-22 08:49:32 -05:00
parent b26c1477c4
commit 465efee46b
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o
7 changed files with 15 additions and 51 deletions

View file

@ -38,6 +38,5 @@ with config;
minio-client # S3 management minio-client # S3 management
shellcheck # shell script linting shellcheck # shell script linting
]; ];
}; };
} }

View file

@ -1,33 +0,0 @@
{ ... }: {
config = {
# hardware-configuration.nix - half of the hardware-configuration.nix file
networking.hostId = "ad4380db";
networking.hostName = "durincore";
fileSystems."/" =
{ device = "rpool/root";
fsType = "zfs";
};
fileSystems."/home" =
{ device = "rpool/home";
fsType = "zfs";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/F1B9-CA7C";
fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ];
};
swapDevices = [ ];
# System settings and services.
mySystem = {
system.motd.networkInterfaces = [ "enp0s31f6" "wlp4s0" ];
};
};
}

View file

@ -14,10 +14,10 @@
fsType = "zfs"; fsType = "zfs";
}; };
fileSystems."/boot" = fileSystems."/boot" = {
{ device = "/dev/disk/by-uuid/8091-E7F2"; device = "/dev/disk/by-uuid/8091-E7F2";
fsType = "vfat"; fsType = "vfat";
}; };
swapDevices = [ ]; swapDevices = [ ];

View file

@ -5,10 +5,11 @@
nur = inputs.nur.overlay; nur = inputs.nur.overlay;
# The unstable nixpkgs set (declared in the flake inputs) will # The unstable nixpkgs set (declared in the flake inputs) will
# be accessible through 'pkgs.unstable' # be accessible through 'pkgs.unstable'
unstable-packages = final: _prev: { # great idea if I wasn't using unstable as my base.
unstable = import inputs.nixpkgs-unstable { # unstable-packages = final: _prev: {
inherit (final) system; # unstable = import inputs.nixpkgs-unstable {
config.allowUnfree = true; # inherit (final) system;
}; # config.allowUnfree = true;
}; # };
# };
} }

View file

@ -1,4 +1,4 @@
{ config, lib, pkgs, imports, boot, self, inputs, ... }: { config, pkgs, inputs, ... }:
# Role for dev stations # Role for dev stations
# Could be a workstatio or a headless server. # Could be a workstatio or a headless server.
@ -12,14 +12,10 @@ with config;
dnsutils dnsutils
nix nix
# nix dev
dnscontrol # for updating internal DNS servers with homelab services
# TODO Move # TODO Move
nil nil
nixpkgs-fmt nixpkgs-fmt
statix statix
# nvd
gh gh
# bind # for dns utils like named-checkconf # bind # for dns utils like named-checkconf

View file

@ -1,4 +1,4 @@
{ pkgs, lib, ... }: { pkgs, ... }:
{ {
# Enable module for NVIDIA graphics # Enable module for NVIDIA graphics
mySystem = { mySystem = {

View file

@ -5,7 +5,7 @@
with lib; with lib;
{ {
config = { config = {
# Enable monitoring for remote scraiping # Enable monitoring for remote scraping
mySystem.services.rebootRequiredCheck.enable = true; mySystem.services.rebootRequiredCheck.enable = true;
mySystem.security.wheelNeedsSudoPassword = false; mySystem.security.wheelNeedsSudoPassword = false;
mySystem.services.cockpit.enable = true; mySystem.services.cockpit.enable = true;
@ -22,6 +22,7 @@ with lib;
noXlibs = mkDefault true; noXlibs = mkDefault true;
systemPackages = [ pkgs.lazygit ]; systemPackages = [ pkgs.lazygit ];
}; };
documentation = { documentation = {
enable = mkDefault false; enable = mkDefault false;
doc.enable = mkDefault false; doc.enable = mkDefault false;