Move common from default.nix to common.nix
This commit is contained in:
parent
f4fea206ab
commit
71ad1cae2f
6
home/common.nix
Normal file
6
home/common.nix
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
{pkgs, ...}: {
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
libreoffice-fresh
|
||||||
|
otpclient
|
||||||
|
];
|
||||||
|
}
|
|
@ -1,9 +1 @@
|
||||||
{pkgs, ...}: let
|
{...}: let home-manager = builtins.fetchTarball "https://github.com/nix-community/home-manager/archive/master.tar.gz"; in {imports = [(import "${home-manager}/nixos")];}
|
||||||
home-manager = builtins.fetchTarball "https://github.com/nix-community/home-manager/archive/master.tar.gz";
|
|
||||||
in {
|
|
||||||
imports = [(import "${home-manager}/nixos")];
|
|
||||||
home.packages = with pkgs; [
|
|
||||||
libreoffice-fresh
|
|
||||||
otpclient
|
|
||||||
];
|
|
||||||
}
|
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
{pkgs, ...}: {
|
{pkgs, ...}: {
|
||||||
imports = [
|
imports = [
|
||||||
|
./common.nix
|
||||||
./env
|
./env
|
||||||
./gui
|
./gui
|
||||||
./tui
|
./tui
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
{pkgs, ...}: {
|
{pkgs, ...}: {
|
||||||
imports = [
|
imports = [
|
||||||
|
./common.nix
|
||||||
./env
|
./env
|
||||||
./gui
|
./gui
|
||||||
./tui
|
./tui
|
||||||
|
|
Loading…
Reference in a new issue