Merge pull request 'refactor' (#4) from refactor into main

Reviewed-on: https://git.duckland.org/don/NixOS-Configs/pulls/4
This commit is contained in:
Don Harper 2023-05-04 21:24:12 -05:00
commit 05f7de7133
22 changed files with 18 additions and 18 deletions

View file

@ -1,14 +0,0 @@
{ config, pkgs, ... }:
{
imports =
[
<nixos-hardware/google/pixelbook>
/etc/nixos/hardware-configuration.nix
/home/don/nixos/workstation/configuration.nix
/home/don/nixos/workstation/home
/home/don/nixos/workstation/sway.nix
/home/don/nixos/workstation/systemd.nix
];
networking.hostName = "eve";
}

View file

@ -0,0 +1,13 @@
{ config, pkgs, ... }:
{
imports =
[
<nixos-hardware/google/pixelbook>
/etc/nixos/hardware-configuration.nix
/home/don/nixos/workstation
/home/don/nixos/home
/home/don/nixos/dm/sway
];
networking.hostName = "eve";
}

View file

@ -11,6 +11,11 @@ let
python-with-my-packages = pkgs.python311Full.withPackages my-python-packages;
in
{
imports =
[
./detect-reboot-needed.nix
./systemd.nix
];
# Bootloader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
@ -22,10 +27,6 @@ in
networking.enableIPv6 = false; # FIXME this is to test connectivity @ the office via wireguard
networking.networkmanager.wifi.powersave = true;
networking.useDHCP = false;
# networking.extraHosts =
# ''
# 100.75.7.116 harper.tail harper bandwidth.duckland.org bandwidth2.duckland.org cal.duckland.org cloud.duckland.org dash.duckland.org git.duckland.org jelly.duckland.org music.duckland.org photos.duckland.org plex.duckland.org rss.duckland.org smart.duckland.org vault.duckland.org webhook.home.duckland.org
# '';
# Set your time zone.
time.timeZone = "America/Chicago";