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
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";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/8091-E7F2";
fsType = "vfat";
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/8091-E7F2";
fsType = "vfat";
};
swapDevices = [ ];

View file

@ -5,10 +5,11 @@
nur = inputs.nur.overlay;
# The unstable nixpkgs set (declared in the flake inputs) will
# be accessible through 'pkgs.unstable'
unstable-packages = final: _prev: {
unstable = import inputs.nixpkgs-unstable {
inherit (final) system;
config.allowUnfree = true;
};
};
# great idea if I wasn't using unstable as my base.
# unstable-packages = final: _prev: {
# unstable = import inputs.nixpkgs-unstable {
# 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
# Could be a workstatio or a headless server.
@ -12,14 +12,10 @@ with config;
dnsutils
nix
# nix dev
dnscontrol # for updating internal DNS servers with homelab services
# TODO Move
nil
nixpkgs-fmt
statix
# nvd
gh
# bind # for dns utils like named-checkconf

View file

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

View file

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