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
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;