rename home.nix to packages.nix

This commit is contained in:
caandt 2024-12-20 21:13:24 -05:00
parent 26093e6884
commit 39f2ca010f
2 changed files with 8 additions and 5 deletions

View file

@ -1,12 +1,18 @@
{...}: { {
config,
lib,
...
}: {
imports = [ imports = [
./autostart.nix ./autostart.nix
./bin ./bin
./config ./config
./home.nix
./options.nix ./options.nix
./packages.nix
./share ./share
./theme.nix ./theme.nix
./xdg.nix ./xdg.nix
]; ];
home.homeDirectory = lib.mkDefault "/home/${config.home.username}";
home.stateVersion = "24.05";
} }

View file

@ -1,11 +1,9 @@
{ {
config, config,
lib,
pkgs, pkgs,
pkgs-stable, pkgs-stable,
... ...
}: { }: {
home.homeDirectory = lib.mkDefault "/home/${config.home.username}";
home.packages = with pkgs; [ home.packages = with pkgs; [
(pkgs.symlinkJoin { (pkgs.symlinkJoin {
name = "firefox"; name = "firefox";
@ -109,5 +107,4 @@
extraOutputsToInstall = ["dev"]; extraOutputsToInstall = ["dev"];
})) }))
]; ];
home.stateVersion = "24.05";
} }