diff options
| author | Devin Finlinson <devin.finlinson@pm.me> | 2023-10-03 03:29:21 -0600 |
|---|---|---|
| committer | Devin Finlinson <devin.finlinson@pm.me> | 2023-10-03 03:29:21 -0600 |
| commit | 8aacb14fcab1ef1efd0458fb4a97e81ec852f472 (patch) | |
| tree | a7772c1ffdc1cfa95fd88456be91dce97bc27f64 /modules | |
| parent | 6717ada06dab28cfa70784556cd235d9de2ad874 (diff) | |
i've gone mad with power
/ attempted config from misterio77 to fix inputs errors
// this created the default.nix files and commented out block in flake.nix
// didn't work, misterio is insane
/ but misterio's nix-colors github tells you to pass it as a special arg into home-manager
// was confused for a bit but got it as an extraSpecialArg cause of module bullshit
/// good thing i had that old note or i'd have been stuck
/ now the inputs pass into home-manager
// hoping to find a more elegant passthrough format
/ oh also moved home-manager's modules to modules folder because misterio does
// probably because they're crazy but also because they've gone so deep it's somehow necessary for anything to work
/// idk how or why, should have something to do with replacing/following default nix format?
//// thus the default.nix files to add/override defaults?
this is my longest commit message ever
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/home-manager/btop.nix | 12 | ||||
| -rw-r--r-- | modules/home-manager/default.nix | 6 | ||||
| -rw-r--r-- | modules/home-manager/helix.nix | 25 | ||||
| -rw-r--r-- | modules/home-manager/shell.nix | 12 | ||||
| -rw-r--r-- | modules/home-manager/starship.nix | 11 | ||||
| -rw-r--r-- | modules/nixos/bluetooth.nix (renamed from modules/bluetooth.nix) | 0 | ||||
| -rw-r--r-- | modules/nixos/default.nix | 11 | ||||
| -rw-r--r-- | modules/nixos/environment.nix (renamed from modules/environment.nix) | 0 | ||||
| -rw-r--r-- | modules/nixos/hyprland.nix (renamed from modules/hyprland.nix) | 0 | ||||
| -rw-r--r-- | modules/nixos/kde-connect.nix (renamed from modules/kde-connect.nix) | 0 | ||||
| -rw-r--r-- | modules/nixos/nix-common.nix (renamed from modules/nix-common.nix) | 0 | ||||
| -rw-r--r-- | modules/nixos/services.nix (renamed from modules/services.nix) | 0 | ||||
| -rw-r--r-- | modules/nixos/steam.nix (renamed from modules/steam.nix) | 0 | ||||
| -rw-r--r-- | modules/nixos/sway.nix (renamed from modules/sway.nix) | 0 | ||||
| -rw-r--r-- | modules/nixos/system-packages.nix (renamed from modules/system-packages.nix) | 0 |
15 files changed, 77 insertions, 0 deletions
diff --git a/modules/home-manager/btop.nix b/modules/home-manager/btop.nix new file mode 100644 index 0000000..2c4e6cc --- /dev/null +++ b/modules/home-manager/btop.nix @@ -0,0 +1,12 @@ +{ catppuccin-btop, ... }: { + home.file.".config/btop/themes".source = "${catppuccin-btop}/themes"; + + #replace htop/nmon + programs.btop = { + enable = true; + settings = { + color_theme = "catppuccin_mocha"; + theme_background = false; # make btop transparent + }; + }; +} diff --git a/modules/home-manager/default.nix b/modules/home-manager/default.nix new file mode 100644 index 0000000..132d201 --- /dev/null +++ b/modules/home-manager/default.nix @@ -0,0 +1,6 @@ +{ + btop = import ./btop.nix; + helix = import ./helix.nix; + shell = import ./shell.nix; + starship = import ./starship.nix; +} diff --git a/modules/home-manager/helix.nix b/modules/home-manager/helix.nix new file mode 100644 index 0000000..a8891a5 --- /dev/null +++ b/modules/home-manager/helix.nix @@ -0,0 +1,25 @@ +{ pkgs, catppuccin-helix, ... }: { + # https://github.com/catppuccin/helix + xdg.configFile."helix/themes".source = "${catppuccin-helix}/themes/default"; + + programs.helix = { + enable = true; + package = pkgs.helix; + # defaultEditor = true; + settings = { + theme = "catppuccin_mocha"; + editor = { + line-number = "relative"; + cursorline = true; + color-modes = true; + lsp.display-messages = true; + cursor.shape = { + insert = "bar"; + normal = "block"; + select = "underline"; + }; + indent-guides.render = true; + }; + }; + }; +} diff --git a/modules/home-manager/shell.nix b/modules/home-manager/shell.nix new file mode 100644 index 0000000..c86190e --- /dev/null +++ b/modules/home-manager/shell.nix @@ -0,0 +1,12 @@ +{nushell-scripts, ... }: { + programs.nushell = { + extraConfig = '' + use ${nushell-scripts}/custom-completions/pass/pass-completions.nu * + use ${nushell-scripts}/custom-completions/nix/nix-completions.nu * + use ${nushell-scripts}/custom-completions/man/man-completions.nu * + use ${nushell-scripts}/custom-completions/cargo/cargo-completions.nu * + use ${nushell-scripts}/custom-completions/make/make-completions.nu * + use ${nushell-scripts}/custom-completions/git/git-completions.nu * + ''; + }; +} diff --git a/modules/home-manager/starship.nix b/modules/home-manager/starship.nix new file mode 100644 index 0000000..7869b4c --- /dev/null +++ b/modules/home-manager/starship.nix @@ -0,0 +1,11 @@ +{ catppuccin-starship, ... }: { + programs.starship = { + enable = true; + + settings = { + command_timeout = 1000; + + palette = "catppuccin_mocha"; + } ; #// builtins.fromTOML (builtins.readFile "${catppuccin-starship}/palettes/mocha.toml"); + }; +}
\ No newline at end of file diff --git a/modules/bluetooth.nix b/modules/nixos/bluetooth.nix index 36e8f8f..36e8f8f 100644 --- a/modules/bluetooth.nix +++ b/modules/nixos/bluetooth.nix diff --git a/modules/nixos/default.nix b/modules/nixos/default.nix new file mode 100644 index 0000000..a6d62e3 --- /dev/null +++ b/modules/nixos/default.nix @@ -0,0 +1,11 @@ +{ + bluetooth = import ./bluetooth.nix; + environment = import ./environment.nix; + hyprland = import ./hyprland.nix; + kde-connect = import ./kde-connect.nix; + nix-common = import ./nix-common.nix; + services = import ./services.nix; + steam = import ./steam.nix; + sway = import ./sway.nix; + system-packages = import ./system-packages.nix; +} diff --git a/modules/environment.nix b/modules/nixos/environment.nix index 225ddda..225ddda 100644 --- a/modules/environment.nix +++ b/modules/nixos/environment.nix diff --git a/modules/hyprland.nix b/modules/nixos/hyprland.nix index c754eae..c754eae 100644 --- a/modules/hyprland.nix +++ b/modules/nixos/hyprland.nix diff --git a/modules/kde-connect.nix b/modules/nixos/kde-connect.nix index 3705c44..3705c44 100644 --- a/modules/kde-connect.nix +++ b/modules/nixos/kde-connect.nix diff --git a/modules/nix-common.nix b/modules/nixos/nix-common.nix index 6e4d373..6e4d373 100644 --- a/modules/nix-common.nix +++ b/modules/nixos/nix-common.nix diff --git a/modules/services.nix b/modules/nixos/services.nix index 336d132..336d132 100644 --- a/modules/services.nix +++ b/modules/nixos/services.nix diff --git a/modules/steam.nix b/modules/nixos/steam.nix index 91c5b67..91c5b67 100644 --- a/modules/steam.nix +++ b/modules/nixos/steam.nix diff --git a/modules/sway.nix b/modules/nixos/sway.nix index 8d4d664..8d4d664 100644 --- a/modules/sway.nix +++ b/modules/nixos/sway.nix diff --git a/modules/system-packages.nix b/modules/nixos/system-packages.nix index 1ffa540..1ffa540 100644 --- a/modules/system-packages.nix +++ b/modules/nixos/system-packages.nix |
