restructure home-manager file layout to reduce clutter

This commit is contained in:
Evie Litherland-Smith 2023-03-29 13:43:02 +01:00
parent ab7b4d9882
commit 96169dde62
18 changed files with 31 additions and 29 deletions

View file

@ -2,10 +2,9 @@
{
imports = [
./common/common.nix
./common/en_GB.nix
./common/plasma.nix
./common/desktop.nix
./common.nix
./locales/en_GB.nix
./desktop/plasma.nix
];
networking.hostName = "H0615"; # Define your hostname.
@ -22,7 +21,7 @@
services.xserver.displayManager.autoLogin.user = "elitherl";
# Set up home manager for user
home-manager.users.elitherl = import ./home-H0615-elitherl.nix;
home-manager.users.elitherl = import ./home-manager/H0615-elitherl.nix;
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions

View file

@ -1,5 +1,8 @@
{config, pkgs, ...}:
{ config, pkgs, ... }:
{
imports = [
./common.nix
];
# Enable the X11 windowing system.
services.xserver.enable = true;

View file

@ -1,10 +1,10 @@
{ pkgs, ... }: {
imports = [
./home/common.nix
./home/gui.nix
./home/dev.nix
./home/nomachine.nix
./home/python310.nix
./common.nix
./packages/gui.nix
./packages/dev.nix
./packages/nomachine.nix
./packages/python310.nix
];
# Home Manager needs a bit of information about you and the
# paths it should manage.

View file

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

View file

@ -1,4 +1,6 @@
{ pkgs, ... }: {
{ pkgs, ... }:
{
home.packages = with pkgs; [
wezterm
firefox

View file

@ -1,6 +1,9 @@
{ pkgs, ... }:
{
imports = [
./dev.nix
];
programs.neovim = {
enable = true;
defaultEditor = true;

View file

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

View file

@ -2,10 +2,9 @@
{
imports = [
./common/common.nix
./common/en_GB.nix
./common/plasma.nix
./common/desktop.nix
./common.nix
./locales/en_GB.nix
./desktop/plasma.nix
];
networking.hostName = "Vanguard"; # Define your hostname.
@ -22,7 +21,7 @@
services.xserver.displayManager.autoLogin.user = "xenia";
# Set up home manager for user
home-manager.users.xenia = import ./home-vanguard-xenia.nix;
home-manager.users.xenia = import ./home-manager/vanguard-xenia.nix;
# For Steam support
hardware.opengl.driSupport32Bit = true;