clean up
This commit is contained in:
parent
b26c1477c4
commit
465efee46b
7 changed files with 15 additions and 51 deletions
|
@ -38,6 +38,5 @@ with config;
|
|||
minio-client # S3 management
|
||||
shellcheck # shell script linting
|
||||
];
|
||||
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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" ];
|
||||
};
|
||||
|
||||
};
|
||||
}
|
|
@ -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 = [ ];
|
||||
|
||||
|
|
|
@ -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;
|
||||
# };
|
||||
# };
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, lib, ... }:
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
# Enable module for NVIDIA graphics
|
||||
mySystem = {
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue