Move common from default.nix to common.nix

This commit is contained in:
Evie Litherland-Smith 2023-05-19 14:52:20 +01:00
parent f4fea206ab
commit 71ad1cae2f
4 changed files with 9 additions and 9 deletions

6
home/common.nix Normal file
View file

@ -0,0 +1,6 @@
{pkgs, ...}: {
home.packages = with pkgs; [
libreoffice-fresh
otpclient
];
}

View file

@ -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
];
}

View file

@ -1,5 +1,6 @@
{pkgs, ...}: { {pkgs, ...}: {
imports = [ imports = [
./common.nix
./env ./env
./gui ./gui
./tui ./tui

View file

@ -1,5 +1,6 @@
{pkgs, ...}: { {pkgs, ...}: {
imports = [ imports = [
./common.nix
./env ./env
./gui ./gui
./tui ./tui