Further restructuring, set up default.nix files to allow importing all common expressions by importing top level packages directory

This commit is contained in:
Evie Litherland-Smith 2023-03-29 14:57:58 +01:00
parent aba59fb9c9
commit 8df45499b8
18 changed files with 70 additions and 43 deletions

View file

@ -1,20 +1,16 @@
{ pkgs, ... }: {
{ ... }: {
imports = [
./common.nix
./packages/gui.nix
./packages/neovim.nix
./packages/python310.nix
./packages/nomachine.nix
./packages
./packages/gui/nomachine.nix
./packages/gui/zotero.nix
./packages/gui/ukaea.nix
];
# Home Manager needs a bit of information about you and the
# paths it should manage.
home.username = "elitherl";
home.homeDirectory = "/home/elitherl";
home.packages = with pkgs; [
teams
];
programs.git = {
userEmail = "evie.litherland-smith@ukaea.uk";
};

View file

@ -1,8 +1,7 @@
{ config, pkgs, ... }:
{ ... }:
{
nixpkgs.config.allowUnfree = true;
programs.home-manager.enable = true;
programs.ssh = {
enable = true;

View file

@ -0,0 +1,9 @@
{ ... }:
{
imports = [
./tui
./gui
./env
];
}

View file

@ -1,15 +0,0 @@
{ config, pkgs, ... }:
{
home.packages = with pkgs; [
gnumake
gcc
direnv
];
programs.git.enable = true;
programs.lazygit = {
enable = true;
settings = import ./config/lazygit.nix;
};
}

View file

@ -0,0 +1,8 @@
{ ... }:
{
imports = [
./qemu.nix
./python310.nix
];
}

View file

@ -1,10 +1,6 @@
{ config, pkgs, ... }:
{
imports = [
./dev.nix
];
home.packages = with pkgs; [
python310Full
python310Packages.pipx

View file

@ -0,0 +1,7 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [
qemu
];
}

View file

@ -1,6 +1,9 @@
{ pkgs, ... }:
{
imports = [
./messaging.nix
];
home.packages = with pkgs; [
wezterm
firefox

View file

@ -5,5 +5,6 @@
mesa
steam
steam-run
discord
];
}

View file

@ -4,6 +4,5 @@
home.packages = with pkgs; [
signal-desktop
element-desktop
discord
];
}

View file

@ -0,0 +1,8 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [
teams
zoom-us
];
}

View file

@ -0,0 +1,7 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [
zotero
];
}

View file

@ -0,0 +1,9 @@
{ ... }:
{
imports = [
./neovim.nix
./lazygit.nix
];
programs.neovim.defaultEditor = true;
}

View file

@ -0,0 +1,8 @@
{ ... }:
{
programs.lazygit = {
enable = true;
settings = import ./config/lazygit.nix;
};
}

View file

@ -1,13 +1,7 @@
{ pkgs, ... }:
{
imports = [
./dev.nix
];
programs.neovim = {
enable = true;
defaultEditor = true;
};
programs.neovim.enable = true;
home.packages = with pkgs; [
gnumake
gcc

View file

@ -1,10 +1,8 @@
{ pkgs, ... }: {
{ ... }: {
imports = [
./common.nix
./packages/gui.nix
./packages/gaming.nix
./packages/messaging.nix
./packages/neovim.nix
./packages
./packages/gui/gaming.nix
./packages/nomachine.nix
];
# Home Manager needs a bit of information about you and the