refactor: move OS configuration files

This commit is contained in:
Oliver Davies 2022-09-27 18:30:42 +01:00
parent c08df2a342
commit ecab676b75
4 changed files with 25 additions and 26 deletions
configuration
flake.nix
home-manager

View file

@ -2,11 +2,11 @@
{
imports = [
./modules/alacritty.nix
./modules/git.nix
./modules/home-manager.nix
./modules/tmux.nix
./modules/zsh.nix
../../home-manager/modules/alacritty.nix
../../home-manager/modules/git.nix
../../home-manager/modules/home-manager.nix
../../home-manager/modules/tmux.nix
../../home-manager/modules/zsh.nix
];
fonts.fontconfig.enable = true;
@ -16,7 +16,6 @@
docker-compose
jetbrains-mono
just
meslo-lg
neovim
];

View file

@ -0,0 +1,18 @@
{ config, lib, pkgs, ... }:
{
imports = [
../../home-manager/modules/git.nix
../../home-manager/modules/home-manager.nix
../../home-manager/modules/tmux.nix
../../home-manager/modules/zsh.nix
];
home.packages = with pkgs; [
just
neovim
zsh
];
programs.bat.enable = true;
}

View file

@ -15,7 +15,7 @@
pop-os = home-manager.lib.homeManagerConfiguration {
modules = [
{ nixpkgs.overlays = overlays; }
./home-manager/pop-os.nix
./configuration/pop-os
];
pkgs = nixpkgs.legacyPackages.x86_64-linux;
};
@ -23,7 +23,7 @@
wsl2 = home-manager.lib.homeManagerConfiguration {
modules = [
{ nixpkgs.overlays = overlays; }
./home-manager/wsl2.nix
./configuration/wsl2
];
pkgs = nixpkgs.legacyPackages.x86_64-linux;
};

View file

@ -1,18 +0,0 @@
{ config, lib, pkgs, ... }:
{
imports = [
./modules/git.nix
./modules/home-manager.nix
./modules/tmux.nix
./modules/zsh.nix
];
home.packages = with pkgs; [
just
neovim
zsh
];
programs.bat.enable = true;
}