pulled in eves changes #4

Merged
jan-leila merged 3 commits from Lithospherical/nix-config:main into main 2025-06-05 04:58:21 +00:00
3 changed files with 12 additions and 3 deletions

View file

@ -1,9 +1,9 @@
{osConfig, ...}: let {osConfig, ...}: let
userConfig = osConfig.host.users.eve; userConfig = osConfig.host.users.eve;
in { in {
nixpkgs.config = { imports = [
allowUnfree = true; ./packages.nix
}; ];
home = { home = {
username = userConfig.name; username = userConfig.name;

View file

@ -6,13 +6,19 @@
... ...
}: let }: let
userConfig = osConfig.host.users.eve; userConfig = osConfig.host.users.eve;
hardware = osConfig.host.hardware;
in { in {
config = { config = {
nixpkgs.config = {
allowUnfree = true;
};
# Packages that can be installed without any extra configuration # Packages that can be installed without any extra configuration
# See https://search.nixos.org/packages for all options # See https://search.nixos.org/packages for all options
home.packages = lib.lists.optionals userConfig.isDesktopUser ( home.packages = lib.lists.optionals userConfig.isDesktopUser (
with pkgs; [ with pkgs; [
ungoogled-chromium ungoogled-chromium
(lib.mkIf hardware.piperMouse.enable piper)
] ]
); );

View file

@ -49,6 +49,9 @@
isPrincipleUser = true; isPrincipleUser = true;
}; };
}; };
hardware = {
piperMouse.enable = true;
};
storage = { storage = {
enable = true; enable = true;