refactor(flake): re-organise systems and modules

This commit is contained in:
Oliver Davies 2023-08-07 22:27:54 +01:00
parent af70a9b56f
commit eac470013b
6 changed files with 51 additions and 45 deletions
system/nixos

View file

@ -0,0 +1,50 @@
{ inputs, pkgs, ... }:
{
imports = [
../../home-manager/modules/common.nix
../../home-manager/modules/git.nix
../../home-manager/modules/home-manager.nix
../../home-manager/modules/tmux.nix
../../home-manager/modules/zsh.nix
];
home.stateVersion = "22.05";
home.username = "opdavies";
home.homeDirectory = "/home/opdavies";
programs.firefox = {
enable = true;
package = pkgs.firefox-devedition;
};
programs.alacritty = {
enable = true;
settings = {
window.opacity = 0.9;
window.padding = {
x = 15;
y = 15;
};
font = {
size = 12.0;
normal.family = "JetBrainsMono Nerd Font Mono";
italic.style = "Regular";
bolditalic.style = "Regular";
bold.style = "Regular";
offset.y = 12;
glyph_offset.y = 6;
};
shell = { program = "zsh"; };
};
};
home.packages = with pkgs; [ discord meslo-lg slack teams vlc wofi xcape zoom-us ];
}