Separate out home module

This commit is contained in:
Alexander Wainwright
2025-08-18 12:46:15 +10:00
parent d20a87987e
commit 988c06c58b
4 changed files with 17 additions and 13 deletions

View File

@@ -10,6 +10,7 @@
./hardware-configuration.nix
../modules/base.nix
../modules/desktop.nix
../modules/home.nix
../modules/laptop.nix
];

View File

@@ -11,6 +11,7 @@
../modules/base.nix
../modules/desktop.nix
../modules/brother-printer.nix
../modules/home.nix
];
# Bootloader.

View File

@@ -47,22 +47,9 @@
#media-session.enable = true;
};
# Mullvad vpn
services.mullvad-vpn = {
enable = true;
};
# Enable touchpad support (enabled default in most desktopManager).
# services.xserver.libinput.enable = true;
# Install firefox.
programs.firefox.enable = true;
environment.systemPackages = with pkgs; [
foliate
inputs.locutus.packages.${pkgs.system}.default
mullvad-browser
mullvad-vpn
tor-browser
];
}

15
hosts/modules/home.nix Normal file
View File

@@ -0,0 +1,15 @@
{ config, pkgs, inputs, ... }:
{
# Mullvad vpn
services.mullvad-vpn = {
enable = true;
};
environment.systemPackages = with pkgs; [
foliate
inputs.locutus.packages.${pkgs.system}.default
mullvad-browser
mullvad-vpn
tor-browser
];
}