cleanup w/ deadnix
This commit is contained in:
parent
4f169eeb84
commit
5ba1d810d4
27 changed files with 23 additions and 170 deletions
|
@ -9,11 +9,7 @@
|
|||
];
|
||||
flake = {
|
||||
};
|
||||
perSystem = {
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: rec {
|
||||
perSystem = {pkgs, ...}: rec {
|
||||
devShells.default = pkgs.mkShell {
|
||||
packages = with pkgs; [
|
||||
alejandra
|
||||
|
|
|
@ -1,9 +1,4 @@
|
|||
{
|
||||
lib,
|
||||
self,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
];
|
||||
|
||||
|
|
|
@ -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;};
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{lib, ...}: {
|
||||
{...}: {
|
||||
imports = [
|
||||
../../editors/nvim.nix
|
||||
../../terminal/shell/zsh.nix
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{lib, ...}: {
|
||||
{...}: {
|
||||
imports = [
|
||||
../../terminal
|
||||
../../editors/nvim.nix
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
{
|
||||
pkgs,
|
||||
self,
|
||||
...
|
||||
}: {
|
||||
{pkgs, ...}: {
|
||||
home.packages = with pkgs; [
|
||||
heroic
|
||||
lutris
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{pkgs, ...}: {
|
||||
{
|
||||
programs.mpv = {
|
||||
enable = true;
|
||||
config = {
|
||||
|
|
|
@ -1,7 +1,3 @@
|
|||
{
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
{pkgs, ...}: {
|
||||
home.packages = [pkgs.keepassxc];
|
||||
}
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
{
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
{pkgs, ...}: {
|
||||
# authentication needs to be done manually once
|
||||
# TODO automatic authentication thing
|
||||
home.packages = with pkgs; [yams];
|
||||
|
|
|
@ -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
|
||||
];
|
||||
}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
{pkgs, ...}: {
|
||||
{
|
||||
programs.nix-index-database.comma.enable = true;
|
||||
}
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
{
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
{config, ...}: {
|
||||
programs.git = {
|
||||
enable = true;
|
||||
delta.enable = true;
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
|
@ -103,7 +103,7 @@ in {
|
|||
};
|
||||
flake.nixosConfigurations = let
|
||||
l = inputs.nixpkgs.lib;
|
||||
in (builtins.mapAttrs (n: v:
|
||||
in (builtins.mapAttrs (_n: v:
|
||||
l.nixosSystem {
|
||||
inherit specialArgs;
|
||||
modules = v.imports;
|
||||
|
|
|
@ -1,9 +1,4 @@
|
|||
{
|
||||
inputs,
|
||||
modulesPath,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
{...}: {
|
||||
imports = [
|
||||
./tools.nix
|
||||
./sway.nix
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{
|
||||
pkgs,
|
||||
inputs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{pkgs, ...}: {
|
||||
{...}: {
|
||||
boot = {
|
||||
initrd = {
|
||||
availableKernelModules = [
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
{
|
||||
inputs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
{inputs, ...}: {
|
||||
imports = [
|
||||
inputs.sops-nix.nixosModules.sops
|
||||
./global
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
{
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
{config, ...}: {
|
||||
boot = {
|
||||
initrd = {
|
||||
systemd.enable = true;
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
{
|
||||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
{pkgs, ...}: {
|
||||
environment.systemPackages = [pkgs.steam-run];
|
||||
|
||||
programs.nix-ld.enable = true;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{lib, ...}: {
|
||||
{...}: {
|
||||
imports = [
|
||||
./xclip.nix
|
||||
];
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{pkgs, ...}: {
|
||||
{...}: {
|
||||
hardware.opengl = {
|
||||
enable = true;
|
||||
driSupport = true;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{self, ...}: {
|
||||
{...}: {
|
||||
nixpkgs = {
|
||||
config.allowUnfree = true;
|
||||
config.permittedInsecurePackages = [];
|
||||
|
|
|
@ -1,69 +1,8 @@
|
|||
{
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
hostname = config.networking.hostName;
|
||||
dashyConfig = {
|
||||
pageInfo = {
|
||||
#title = "Home Lab";
|
||||
};
|
||||
sections = [
|
||||
{
|
||||
name = "*arr";
|
||||
icon = "hl-servarr";
|
||||
items = [
|
||||
{
|
||||
title = "Sonarr";
|
||||
icon = "hl-sonarr";
|
||||
url = "http://${hostname}:8989";
|
||||
}
|
||||
{
|
||||
title = "Radarr";
|
||||
icon = "hl-radarr";
|
||||
url = "http://${hostname}:7878";
|
||||
}
|
||||
{
|
||||
title = "Prowlarr";
|
||||
icon = "hl-prowlarr";
|
||||
url = "http://${hostname}:9696";
|
||||
}
|
||||
];
|
||||
}
|
||||
{
|
||||
name = "Management";
|
||||
items = [
|
||||
{
|
||||
title = "Jellyseerr";
|
||||
icon = "hl-jellyseerr";
|
||||
url = "http://${hostname}:5055";
|
||||
}
|
||||
{
|
||||
title = "Transmission";
|
||||
icon = "hl-transmission";
|
||||
url = "http://${hostname}:9091";
|
||||
}
|
||||
];
|
||||
}
|
||||
{
|
||||
name = "Music";
|
||||
items = [
|
||||
{
|
||||
title = "Betanin";
|
||||
icon = "hl-betanin";
|
||||
url = "http://${hostname}:9393";
|
||||
}
|
||||
{
|
||||
title = "Slskd";
|
||||
icon = "hl-soulseek";
|
||||
url = "http://${hostname}:5030";
|
||||
}
|
||||
];
|
||||
}
|
||||
];
|
||||
};
|
||||
in {
|
||||
}: {
|
||||
imports = [
|
||||
#./statistics
|
||||
];
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{pkgs, ...}: {
|
||||
{...}: {
|
||||
services = {
|
||||
dbus.implementation = "broker";
|
||||
|
||||
|
|
|
@ -1,9 +1,4 @@
|
|||
{
|
||||
lib,
|
||||
config,
|
||||
self,
|
||||
...
|
||||
}: {
|
||||
{...}: {
|
||||
services.transmission = {
|
||||
enable = true;
|
||||
};
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
{...}: {
|
||||
#networking.wg-quick.interfaces."wg0".configFile = config.sops.secrets.wireguard.path;
|
||||
|
||||
# Sets tailscale to a high priority, to make sure tailscale
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue