cleanup w/ deadnix

This commit is contained in:
xunuwu 2024-03-17 11:26:16 +01:00
parent 4f169eeb84
commit 5ba1d810d4
Signed by: xun
SSH key fingerprint: SHA256:Uot/1WoAjWAeqLOHA5vYy4phhVydsH7jCPmBjaPZfgI
27 changed files with 23 additions and 170 deletions

View file

@ -1,9 +1,4 @@
{
lib,
self,
inputs,
...
}: {
imports = [
];

View file

@ -1,7 +1,6 @@
{
self,
inputs,
system,
pkgs,
...
}: let
@ -25,8 +24,6 @@
};
inherit (inputs.home-manager.lib) homeManagerConfiguration;
pkgs = inputs.nixpkgs.legacyPackages.${system};
in {
# we need to pass this to NixOS' HM module
_module.args = {inherit homeImports;};

View file

@ -1,4 +1,4 @@
{lib, ...}: {
{...}: {
imports = [
../../editors/nvim.nix
../../terminal/shell/zsh.nix

View file

@ -1,4 +1,4 @@
{lib, ...}: {
{...}: {
imports = [
../../terminal
../../editors/nvim.nix

View file

@ -1,8 +1,4 @@
{
pkgs,
self,
...
}: {
{pkgs, ...}: {
home.packages = with pkgs; [
heroic
lutris

View file

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

View file

@ -1,7 +1,3 @@
{
pkgs,
lib,
...
}: {
{pkgs, ...}: {
home.packages = [pkgs.keepassxc];
}

View file

@ -1,8 +1,4 @@
{
pkgs,
config,
...
}: {
{pkgs, ...}: {
# authentication needs to be done manually once
# TODO automatic authentication thing
home.packages = with pkgs; [yams];

View file

@ -1,11 +1,6 @@
{config, ...}: let
data = config.xdg.dataHome;
conf = config.xdg.configHome;
cache = config.xdg.cacheHome;
in {
{...}: {
imports = [
./programs
./shell/zsh.nix
#./shell/starship.nix
];
}

View file

@ -1,3 +1,3 @@
{pkgs, ...}: {
{
programs.nix-index-database.comma.enable = true;
}

View file

@ -1,8 +1,4 @@
{
lib,
config,
...
}: {
{config, ...}: {
programs.git = {
enable = true;
delta.enable = true;

View file

@ -1,26 +0,0 @@
{config, ...}: {
home.sessionVariables.STARSHIP_CACHE = "${config.xdg.cacheHome}/starship";
programs.starship = {
enable = true;
enableZshIntegration = true;
settings = {
character = {
success_symbol = "[](bold green)";
error_symbol = "[](bold red)";
};
git_status = {
deleted = "";
modified = "";
staged = "";
stashed = "";
};
nix_shell = {
symbol = " ";
heuristic = true;
};
};
};
}