mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 14:01:34 +01:00
Reshuffle modules a bit
This commit is contained in:
parent
211ca98e92
commit
a8f9d8108d
9 changed files with 15 additions and 15 deletions
|
|
@ -24,12 +24,12 @@
|
||||||
dm.tuigreet.enable = true;
|
dm.tuigreet.enable = true;
|
||||||
de.hyprland.enable = true;
|
de.hyprland.enable = true;
|
||||||
|
|
||||||
|
wlan.enable = true;
|
||||||
|
bluetooth.enable = true;
|
||||||
|
sound.enable = true;
|
||||||
virtualisation.enable = true;
|
virtualisation.enable = true;
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
wlan.enable = true;
|
|
||||||
bluetooth.enable = true;
|
|
||||||
sound.enable = true;
|
|
||||||
gc.enable = true;
|
gc.enable = true;
|
||||||
geoclue.enable = true;
|
geoclue.enable = true;
|
||||||
tailscale = {
|
tailscale = {
|
||||||
|
|
|
||||||
|
|
@ -24,10 +24,10 @@
|
||||||
dm.tuigreet.enable = true;
|
dm.tuigreet.enable = true;
|
||||||
de.hyprland.enable = true;
|
de.hyprland.enable = true;
|
||||||
|
|
||||||
|
sound.enable = true;
|
||||||
virtualisation.enable = true;
|
virtualisation.enable = true;
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
sound.enable = true;
|
|
||||||
gc.enable = true;
|
gc.enable = true;
|
||||||
geoclue.enable = true;
|
geoclue.enable = true;
|
||||||
tailscale = {
|
tailscale = {
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
config = lib.mkIf config.custom.shell.zsh.enable {
|
config = lib.mkIf config.custom.programs.shell.zsh.enable {
|
||||||
home.packages = [
|
home.packages = [
|
||||||
pkgs.eza
|
pkgs.eza
|
||||||
pkgs.bat
|
pkgs.bat
|
||||||
|
|
|
||||||
|
|
@ -5,9 +5,9 @@
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
options.custom.shell.zsh.enable = lib.mkEnableOption "";
|
options.custom.programs.shell.zsh.enable = lib.mkEnableOption "";
|
||||||
|
|
||||||
config = lib.mkIf config.custom.shell.zsh.enable {
|
config = lib.mkIf config.custom.programs.shell.zsh.enable {
|
||||||
programs = {
|
programs = {
|
||||||
zsh = {
|
zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
config = lib.mkIf config.custom.shell.zsh.enable {
|
config = lib.mkIf config.custom.programs.shell.zsh.enable {
|
||||||
programs.zsh = {
|
programs.zsh = {
|
||||||
plugins = [
|
plugins = [
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
{ config, lib, ... }:
|
{ config, lib, ... }:
|
||||||
{
|
{
|
||||||
options.custom.services.bluetooth.enable = lib.mkEnableOption "";
|
options.custom.bluetooth.enable = lib.mkEnableOption "";
|
||||||
|
|
||||||
config = lib.mkIf config.custom.services.bluetooth.enable {
|
config = lib.mkIf config.custom.bluetooth.enable {
|
||||||
hardware = {
|
hardware = {
|
||||||
bluetooth = {
|
bluetooth = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
{ config, lib, ... }:
|
{ config, lib, ... }:
|
||||||
{
|
{
|
||||||
options.custom.services.sound.enable = lib.mkEnableOption "";
|
options.custom.sound.enable = lib.mkEnableOption "";
|
||||||
|
|
||||||
config = lib.mkIf config.custom.services.sound.enable {
|
config = lib.mkIf config.custom.sound.enable {
|
||||||
security.rtkit.enable = true;
|
security.rtkit.enable = true;
|
||||||
services = {
|
services = {
|
||||||
pulseaudio.enable = false;
|
pulseaudio.enable = false;
|
||||||
|
|
@ -13,9 +13,9 @@ let
|
||||||
];
|
];
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.custom.services.wlan.enable = lib.mkEnableOption "";
|
options.custom.wlan.enable = lib.mkEnableOption "";
|
||||||
|
|
||||||
config = lib.mkIf config.custom.services.wlan.enable (
|
config = lib.mkIf config.custom.wlan.enable (
|
||||||
lib.mkMerge [
|
lib.mkMerge [
|
||||||
{
|
{
|
||||||
networking.wireless.iwd = {
|
networking.wireless.iwd = {
|
||||||
|
|
@ -25,9 +25,9 @@ in
|
||||||
|
|
||||||
custom = {
|
custom = {
|
||||||
sops.enable = true;
|
sops.enable = true;
|
||||||
shell.zsh.enable = true;
|
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
|
shell.zsh.enable = true;
|
||||||
kitty.enable = true;
|
kitty.enable = true;
|
||||||
firefox.enable = true;
|
firefox.enable = true;
|
||||||
git.enable = true;
|
git.enable = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue