From fa4b52168ffea5263a9f24380939a4d9c628e3aa Mon Sep 17 00:00:00 2001 From: genofire Date: Mon, 13 Dec 2021 22:49:23 +0100 Subject: [PATCH] home: easier import --- home/README.md | 4 +--- home/console.nix | 2 ++ home/desktop.nix | 2 ++ home/home.nix | 4 +--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/home/README.md b/home/README.md index 7f9290b..a0ffe53 100644 --- a/home/README.md +++ b/home/README.md @@ -5,9 +5,7 @@ Create `~/.config/nixpkgs/home.nix` with: {pkgs, ...}: { imports = [ - ./repo/default.nix - ./repo/desktop.nix - ./repo/sway.nix + ./repo/desktop-sway.nix ]; } ``` diff --git a/home/console.nix b/home/console.nix index a11ccf3..53d2c3d 100644 --- a/home/console.nix +++ b/home/console.nix @@ -1,5 +1,7 @@ {pkgs, ...}: { + imports = [./default.nix]; + home.packages = with pkgs; [ poezio ]; diff --git a/home/desktop.nix b/home/desktop.nix index d06b82b..9eaa0ce 100644 --- a/home/desktop.nix +++ b/home/desktop.nix @@ -1,5 +1,7 @@ {pkgs, ...}: { + imports = [./default.nix]; + home.sessionVariables = { BROWSER = "firefox"; }; diff --git a/home/home.nix b/home/home.nix index ef2143b..f9aa8ab 100644 --- a/home/home.nix +++ b/home/home.nix @@ -1,8 +1,6 @@ {pkgs, ...}: { imports = [ - ./repo/default.nix - ./repo/desktop.nix - ./repo/gnome.nix + ./repo/desktop-sway.nix ]; }