move modules out
This commit is contained in:
parent
6c910125f7
commit
ab9955e681
10 changed files with 18 additions and 20 deletions
|
@ -1,5 +1,7 @@
|
||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
{
|
{
|
||||||
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
# Enable OpenGL
|
# Enable OpenGL
|
||||||
hardware.graphics = {
|
hardware.graphics = {
|
||||||
enable = true;
|
enable = true;
|
|
@ -1,8 +1,6 @@
|
||||||
{ pkgs, config, ... }:
|
{ pkgs, config, ... }:
|
||||||
{
|
{
|
||||||
nixpkgs.config.allowUnfree = true; #because im a gigachad
|
# boot, networking, locale
|
||||||
|
|
||||||
# boot, networking, locale, stateVersion
|
|
||||||
boot.kernel.sysctl."net.ipv4.ip_forward" = 1;
|
boot.kernel.sysctl."net.ipv4.ip_forward" = 1;
|
||||||
|
|
||||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
|
@ -8,12 +8,10 @@
|
||||||
./secrets.nix
|
./secrets.nix
|
||||||
|
|
||||||
# Common modules shared across hosts
|
# Common modules shared across hosts
|
||||||
../../modules/common/system.nix
|
../../common/system.nix
|
||||||
../../modules/common/users.nix
|
../../common/users.nix
|
||||||
../../modules/common/services.nix
|
../../common/services.nix
|
||||||
|
|
||||||
# Services specific to this host
|
|
||||||
#../../services/forgejo.nix
|
|
||||||
|
|
||||||
# Common secrets
|
# Common secrets
|
||||||
../../host-secrets.nix
|
../../host-secrets.nix
|
||||||
|
|
|
@ -8,17 +8,17 @@
|
||||||
./secrets.nix
|
./secrets.nix
|
||||||
|
|
||||||
# Common modules shared across hosts
|
# Common modules shared across hosts
|
||||||
../../modules/common/system.nix
|
../../common/system.nix
|
||||||
../../modules/common/users.nix
|
../../common/users.nix
|
||||||
../../modules/common/services.nix
|
../../common/services.nix
|
||||||
../../modules/common/efi.nix
|
../../common/efi.nix
|
||||||
|
|
||||||
# Desktop modules
|
# Desktop modules
|
||||||
../../modules/desktop/core.nix
|
../../common/desktop/core.nix
|
||||||
../../modules/desktop/sway.nix
|
../../common/desktop/sway.nix
|
||||||
|
|
||||||
# Nvidia
|
# Nvidia
|
||||||
../../modules/common/nvidia.nix
|
../../common/nvidia.nix
|
||||||
|
|
||||||
# Common secrets
|
# Common secrets
|
||||||
#../../host-secrets.nix
|
#../../host-secrets.nix
|
||||||
|
|
|
@ -6,13 +6,13 @@
|
||||||
# Host-specific hardware
|
# Host-specific hardware
|
||||||
./hardware.nix
|
./hardware.nix
|
||||||
./secrets.nix
|
./secrets.nix
|
||||||
../../modules/common/nvidia.nix
|
../../common/nvidia.nix
|
||||||
|
|
||||||
# Common modules shared across hosts
|
# Common modules shared across hosts
|
||||||
../../modules/common/system.nix
|
../../common/system.nix
|
||||||
../../modules/common/users.nix
|
../../common/users.nix
|
||||||
../../modules/common/services.nix
|
../../common/services.nix
|
||||||
../../modules/common/efi.nix
|
../../common/efi.nix
|
||||||
|
|
||||||
# Common secrets
|
# Common secrets
|
||||||
../../host-secrets.nix
|
../../host-secrets.nix
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue