Remove hummelberg host
This commit is contained in:
parent
60b22a62cd
commit
1b0209d1dc
4 changed files with 0 additions and 120 deletions
|
@ -1,41 +0,0 @@
|
||||||
{ config, pkgs, ... }:
|
|
||||||
{
|
|
||||||
|
|
||||||
imports = [
|
|
||||||
./filesystems.nix
|
|
||||||
./networking.nix
|
|
||||||
#./printing.nix
|
|
||||||
#./backup.nix #TODO: Extract applications from desktop role
|
|
||||||
|
|
||||||
../../defaults/base
|
|
||||||
../../defaults/cifs-auth-fix
|
|
||||||
../../defaults/desktop
|
|
||||||
../../defaults/hardware/thinkpad-p14s.nix
|
|
||||||
#../../defaults/printing
|
|
||||||
];
|
|
||||||
|
|
||||||
#TODO: Clean up next section
|
|
||||||
services.xserver.dpi = 180;
|
|
||||||
|
|
||||||
virtualisation = {
|
|
||||||
# TODO: This should probably be somewhere else.
|
|
||||||
docker = {
|
|
||||||
enable = true;
|
|
||||||
enableOnBoot = false;
|
|
||||||
};
|
|
||||||
libvirtd.enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
environment.systemPackages = [ pkgs.docker-credential-helpers ];
|
|
||||||
|
|
||||||
# Set your time zone.
|
|
||||||
time.timeZone = "Europe/Amsterdam";
|
|
||||||
|
|
||||||
# This value determines the NixOS release from which the default
|
|
||||||
# settings for stateful data, like fi:le locations and database versions
|
|
||||||
# on your system were taken. It‘s perfectly fine and recommended to leave
|
|
||||||
# this value at the release version of the first install of this system.
|
|
||||||
# Before changing this value read the documentation for this option
|
|
||||||
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
|
||||||
system.stateVersion = "22.11"; # Did you read the comment?
|
|
||||||
}
|
|
|
@ -1,35 +0,0 @@
|
||||||
{
|
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
lib,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
{
|
|
||||||
boot.initrd.luks.devices = {
|
|
||||||
"root".device = "/dev/disk/by-uuid/fae1b81e-894c-47b4-92e5-0a817fd6f66f";
|
|
||||||
"swap".device = "/dev/disk/by-uuid/dc1fe9ff-7eb7-40c3-8fbd-d99398e5e5d6";
|
|
||||||
};
|
|
||||||
|
|
||||||
fileSystems = {
|
|
||||||
"/" = {
|
|
||||||
device = "/dev/mapper/root";
|
|
||||||
fsType = "btrfs";
|
|
||||||
options = [ "subvol=nixos" ];
|
|
||||||
};
|
|
||||||
"/home" = {
|
|
||||||
device = "/dev/mapper/root";
|
|
||||||
fsType = "btrfs";
|
|
||||||
options = [ "subvol=home" ];
|
|
||||||
};
|
|
||||||
"/boot" = {
|
|
||||||
device = "/dev/disk/by-uuid/1FB9-3DB0";
|
|
||||||
fsType = "vfat";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
swapDevices = [ { device = "/dev/mapper/swap"; } ];
|
|
||||||
|
|
||||||
# Use the systemd-boot EFI boot loader.
|
|
||||||
boot.loader.systemd-boot.enable = true;
|
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
|
||||||
}
|
|
|
@ -1,26 +0,0 @@
|
||||||
{ config, pkgs, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
|
|
||||||
networking = {
|
|
||||||
networkmanager.enable = true;
|
|
||||||
useDHCP = false;
|
|
||||||
#wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
|
||||||
hostName = "hummelberg";
|
|
||||||
};
|
|
||||||
|
|
||||||
# Configure network proxy if necessary
|
|
||||||
# networking.proxy.default = "http://user:password@proxy:port/";
|
|
||||||
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
|
|
||||||
|
|
||||||
#networking.wireguard.enable = true;
|
|
||||||
#networking.wireguard.interfaces = let
|
|
||||||
# meta = import ../../meta;
|
|
||||||
# vnetworks = meta.network.virtual;
|
|
||||||
# vnetworkName = "mgmt";
|
|
||||||
#in {
|
|
||||||
# "wg-${vnetworkName}" =
|
|
||||||
# pkgs.lib.qois.wireguard.makeInterface config.networking.hostName
|
|
||||||
# vnetworkName vnetworks.${vnetworkName};
|
|
||||||
#};
|
|
||||||
}
|
|
|
@ -1,18 +0,0 @@
|
||||||
{ config, pkgs, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
hardware.printers.ensureDefaultPrinter = "hsr-mfp-8261";
|
|
||||||
hardware.printers.ensurePrinters = [
|
|
||||||
{
|
|
||||||
name = "hsr-mfp-8261";
|
|
||||||
deviceUri = "smb://hsr.ch/printsrv-d.hsr.ch/d8261-a4mfp";
|
|
||||||
location = "HSR 8.261";
|
|
||||||
model = "HP/hp-color_laserjet_mfp_m577-ps.ppd.gz";
|
|
||||||
ppdOptions = {
|
|
||||||
Duplex = "DuplexNoTumble";
|
|
||||||
PageSize = "A4";
|
|
||||||
auth-info-required = "username,password";
|
|
||||||
};
|
|
||||||
}
|
|
||||||
];
|
|
||||||
}
|
|
Loading…
Add table
Reference in a new issue