changed formatter, migrated suckless configurations to flake

This commit is contained in:
ISnortPennies 2023-01-22 19:28:58 -05:00
parent 5e19c6b52f
commit b0b688c43f
97 changed files with 311 additions and 19216 deletions

View file

@ -1,5 +1,4 @@
{ pkgs, ... }:
{
{pkgs, ...}: {
programs.git = {
enable = true;
package = pkgs.gitMinimal;

View file

@ -1,5 +1,9 @@
{ config, pkgs, username, ... }:
{
config,
pkgs,
username,
...
}: {
imports = [
./librewolf.nix
./sxhkd.nix

View file

@ -1,5 +1,4 @@
{ pkgs, ... }:
{
{pkgs, ...}: {
programs = {
librewolf = {
enable = true;

View file

@ -1,6 +1,4 @@
{ pkgs, ... }:
let
{pkgs, ...}: let
vim-moonfly = pkgs.vimUtils.buildVimPlugin {
pname = "vim-moonfly";
version = "1.0.0";
@ -11,15 +9,14 @@ let
sha256 = "sha256-TEYN8G/VNxitpPJPM7+O9AGLm6V7bPkiTlFG5op55pI=";
};
};
in
{
in {
# home.packages = with pkgs; [rustc cargo rust-analyzer clang-tools];
programs.neovim = {
enable = true;
viAlias = true;
vimAlias = true;
vimdiffAlias = true;
extraPackages = with pkgs; [ gcc ripgrep fd ];
extraPackages = with pkgs; [gcc ripgrep fd];
plugins = with pkgs.vimPlugins; [
nvim-treesitter.withAllGrammars
rainbow
@ -49,25 +46,21 @@ in
vim-moonfly #color scheme
lightline-vim #bottom bar
];
extraConfig =
let
luaRequire = module:
builtins.readFile (builtins.toString
./config
extraConfig = let
luaRequire = module:
builtins.readFile (builtins.toString
./config
+ "/${module}.lua");
luaConfig = builtins.concatStringsSep "\n" (map luaRequire [
"init"
"lspconfig"
"nvim-cmp"
]);
in
''
lua << EOF
${luaConfig}
EOF
luaConfig = builtins.concatStringsSep "\n" (map luaRequire [
"init"
"lspconfig"
"nvim-cmp"
]);
in ''
lua << EOF
${luaConfig}
EOF
'';
'';
};
}

View file

@ -6,7 +6,6 @@
shadowOpacity = 0.5;
vSync = false;
settings = {
blur = false;
shadow-radius = 12;
@ -25,11 +24,17 @@
use-damage = true;
log-level = "warn";
wintypes = {
tooltip = { fade = true; shadow = false; opacity = 1.0; focus = true; full-shadow = false; };
dock = { shadow = true; };
dnd = { shadow = true; };
popup_menu = { opacity = 1.0; };
dropdown_menu = { opacity = 1.0; };
tooltip = {
fade = true;
shadow = false;
opacity = 1.0;
focus = true;
full-shadow = false;
};
dock = {shadow = true;};
dnd = {shadow = true;};
popup_menu = {opacity = 1.0;};
dropdown_menu = {opacity = 1.0;};
};
};
};

View file

@ -1,5 +1,8 @@
{ config, pkgs, ... }:
{
config,
pkgs,
...
}: {
imports = [
./theme.nix
./git.nix

View file

@ -1,9 +1,12 @@
{ pkgs, lib, spicetify-nix, ... }:
let
spicePkgs = spicetify-nix.packages.${pkgs.system}.default;
in
{
imports = [ spicetify-nix.homeManagerModule ];
pkgs,
lib,
spicetify-nix,
...
}: let
spicePkgs = spicetify-nix.packages.${pkgs.system}.default;
in {
imports = [spicetify-nix.homeManagerModule];
programs.spicetify = {
spotifyPackage = pkgs.spotify-unwrapped;
spicetifyPackage = pkgs.spicetify-cli;

View file

@ -1,5 +1,8 @@
{ pkgs, home-manager, ... }:
{
pkgs,
home-manager,
...
}: {
gtk = {
enable = true;
theme = {