profiles: reorganize

This commit is contained in:
Timothy DeHerrera 2020-08-04 13:44:11 -06:00
parent 01d916f379
commit d897b364c6
No known key found for this signature in database
GPG key ID: 8985725DB5B0C122
10 changed files with 16 additions and 6 deletions

View file

@ -2,7 +2,7 @@
let inherit (builtins) readFile; let inherit (builtins) readFile;
in in
{ {
imports = [ ./sway ../develop ./xmonad ../networkmanager ./im ]; imports = [ ./sway ../develop ./xmonad ../network ./im ];
hardware.opengl.enable = true; hardware.opengl.enable = true;
hardware.opengl.driSupport = true; hardware.opengl.driSupport = true;

View file

@ -1,14 +1,25 @@
[ [
./core ./core
./db/postgres
./develop ./develop
./develop/kakoune ./develop/kakoune
./develop/python
./develop/tmux ./develop/tmux
./develop/zsh ./develop/zsh
./graphical ./graphical
./graphical/games ./graphical/games
./graphical/im ./graphical/im
./graphical/plex.nix
./graphical/qutebrowser ./graphical/qutebrowser
./graphical/sway ./graphical/sway
./misc ./graphical/xmonad
./laptop
./misc/disable-mitigations.nix
./network
./network/adblocking.nix
./network/networkmanager
./network/stubby.nix
./network/torrent.nix
./ssh
./virt ./virt
] ]

View file

@ -1 +0,0 @@
{ ... }: { imports = [ ./stubby.nix ./adblocking.nix ]; }

View file

@ -0,0 +1,3 @@
{
imports = [ ./networkmanager ./adblocking.nix ];
}

View file

@ -1,6 +1,4 @@
{ lib, ... }: { { lib, ... }: {
imports = [ ../misc/adblocking.nix ];
networking.networkmanager = { networking.networkmanager = {
enable = true; enable = true;
wifi.backend = "iwd"; wifi.backend = "iwd";
@ -24,5 +22,4 @@
DNSOverTLS=yes DNSOverTLS=yes
''; '';
}; };
} }