issue with hm fixed

This commit is contained in:
LunarAkai 2025-03-15 15:32:00 +01:00
commit 318f03df08
8 changed files with 61 additions and 45 deletions

View file

@ -12,8 +12,7 @@
# The home.packages option allows you to install Nix packages into your
# environment.
home.packages = [
alejandra # formatter
fd-find
home.packages = with pkgs; [
alejandra
];
}

View file

@ -1,4 +1,4 @@
{
{pkgs, ...}: {
# dynamic linking
programs.nix-ld.enable = true;
programs.nix-ld.libraries = with pkgs; [

View file

@ -4,8 +4,18 @@
...
}: {
# flakes
nix.settings.experimental-features = [
nix = {
settings = {
experimental-features = [
"nix-command"
"flakes"
];
warn-dirty = false;
};
gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than +7";
};
};
}

View file

@ -9,7 +9,7 @@
displayManager.gdm = {
enable = true;
autoSuspend = false;
}
};
};
};
}

View file

@ -0,0 +1,28 @@
{
pkgs,
config,
lib,
...
}: {
# Define a user account. Don't forget to set a password with passwd.
users.users.luna = {
isNormalUser = true;
description = "luna";
extraGroups = [
"networkmanager"
"wheel"
];
packages = with pkgs; [
# thunderbird
gnome-software
git
neovim
rustup
vscode.fhs
nix-inspect
protonvpn-gui
];
};
home-manager.users.luna = import ../../../../home-manager/luna/${config.networking.hostName}.nix;
}

View file

@ -10,13 +10,14 @@
}: {
imports = [
inputs.home-manager.nixosModules.home-manager
../common/global
../common/users/luna
# optional stuff
../common/optional/gnome.nix
../common/optional/pipewire.nix
# Include the results of the hardware scan.
./hardware-configuration.nix
];
@ -45,28 +46,6 @@
# Enable CUPS to print documents.
services.printing.enable = true;
# Enable touchpad support (enabled default in most desktopManager).
# services.xserver.libinput.enable = true;
# Define a user account. Don't forget to set a password with passwd.
users.users.luna = {
isNormalUser = true;
description = "luna";
extraGroups = ["networkmanager" "wheel"];
packages = with pkgs; [
# thunderbird
gnome-software
git
neovim
rustup
vscode.fhs
nix-inspect
protonvpn-gui
];
};
# flatpak
services.flatpak.enable = true;