Merge pull request 'pulled in eves changes' (#4) from Lithospherical/nix-config:main into main

Reviewed-on: #4
This commit is contained in:
jan-leila 2025-06-05 04:58:20 +00:00
commit d3761aa11c
3 changed files with 12 additions and 3 deletions

View file

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

View file

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

View file

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