home: easier import

This commit is contained in:
genofire 2021-12-13 22:49:23 +01:00
parent 20158d71a4
commit fa4b52168f
4 changed files with 6 additions and 6 deletions

View File

@ -5,9 +5,7 @@ Create `~/.config/nixpkgs/home.nix` with:
{pkgs, ...}: {pkgs, ...}:
{ {
imports = [ imports = [
./repo/default.nix ./repo/desktop-sway.nix
./repo/desktop.nix
./repo/sway.nix
]; ];
} }
``` ```

View File

@ -1,5 +1,7 @@
{pkgs, ...}: {pkgs, ...}:
{ {
imports = [./default.nix];
home.packages = with pkgs; [ home.packages = with pkgs; [
poezio poezio
]; ];

View File

@ -1,5 +1,7 @@
{pkgs, ...}: {pkgs, ...}:
{ {
imports = [./default.nix];
home.sessionVariables = { home.sessionVariables = {
BROWSER = "firefox"; BROWSER = "firefox";
}; };

View File

@ -1,8 +1,6 @@
{pkgs, ...}: {pkgs, ...}:
{ {
imports = [ imports = [
./repo/default.nix ./repo/desktop-sway.nix
./repo/desktop.nix
./repo/gnome.nix
]; ];
} }