Finally switch to flakes.

This commit is contained in:
Jimbo 2024-08-24 22:16:51 -04:00
parent a90e09db74
commit 5e0b713756
116 changed files with 5443 additions and 3 deletions

View file

@ -0,0 +1,53 @@
{config, pkgs, ...}: {
# Enable Sway and write some scripts
wayland.windowManager.sway = {
enable = true;
#package = pkgs.unstable.sway;
wrapperFeatures.gtk = true;
checkConfig = false;
config = let
colors = import ../style/colors.nix;
fonts = import ../common/fonts.nix;
in {
# Theming settings
colors = {
focused = {
border = "#${colors.prime}";
background = "#${colors.prime}";
text = "#FFFFFF";
indicator = "#${colors.actSplit}";
childBorder = "#${colors.prime}";
};
focusedInactive = {
border = "#${colors.accent}";
background = "#${colors.accent}";
text = "#${colors.text}";
indicator = "#${colors.split}";
childBorder = "#${colors.accent}";
};
unfocused = {
border = "#${colors.dark}";
background = "#${colors.dark}";
text = "#${colors.text}";
indicator = "#${colors.split}";
childBorder = "#${colors.split}";
};
urgent = {
border = "#${colors.urgent}";
background = "#${colors.urgent}";
text = "#${colors.text}";
indicator = "#${colors.urgent}";
childBorder = "#${colors.urgent}";
};
};
fonts = {
names = ["${fonts.main}"];
size = 10.5;
};
gaps = {
inner = 5;
smartGaps = true;
};
};
};
}