fix: clean-up

This commit is contained in:
Kat Inskip 2023-01-29 15:44:57 -08:00
parent 1ca6189cfd
commit 160be4bd90
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
11 changed files with 13 additions and 41 deletions

View file

@ -1,5 +1,4 @@
{
pkgs,
lib,
...
}: let

View file

@ -1,4 +1,4 @@
{ config, pkgs, nixos, lib, ... }: {
{ config, lib, ... }: {
# TODO: fix lib use
home.packages = [
config.services.konawall.konashow
@ -9,12 +9,12 @@
interval = "30m";
mode = "shuffle";
commonTags = [ "width:>=1600" ];
tagList = map (lib.toList) [
([
tagList = map lib.toList [
[
"score:>=50"
#"no_humans"
#"rating:s"
])
]
];
};
}

View file

@ -1,4 +1,4 @@
{ config, pkgs, lib, ... }: let
{ config, pkgs, ... }: let
inherit (config.base16) palette;
in {
systemd.user.services = {

View file

@ -1,4 +1,4 @@
{ config, kittywitch, lib, pkgs, ... }:
{ kittywitch, pkgs, ... }:
{
xdg.configFile."waybar/style.css" = { inherit (kittywitch.sassTemplate { name = "waybar-style"; src = ./waybar.sass; }) source; };

View file

@ -1,7 +0,0 @@
{
inputs,
pkgs,
...
}:
inputs.utils.lib.eachDefaultSystem (system: {
})

View file

@ -13,11 +13,11 @@ in with lib; {
sass = {
variables = mkOption {
type = attrsOf str;
default = (cfg.palette // cfg.palette' // {
default = cfg.palette // cfg.palette' // {
term_font = "Iosevka";
font = "Iosevka";
font_size = "12px";
});
};
};
css_style = mkOption {
type = enum [ "nested" "compressed" "compact" "expanded" ];

View file

@ -5,7 +5,7 @@ inherit (lib.attrsets) mapAttrsToList;
commonUser = {
shell = pkgs.zsh;
openssh.authorizedKeys.keys = concatLists (mapAttrsToList
(name: user:
(_: user:
if elem "wheel" user.extraGroups then
user.openssh.authorizedKeys.keys
else

View file

@ -3,7 +3,7 @@
inherit (std) list;
in {
boot = mkMerge [
({
{
kernel.sysctl = {
"fs.inotify.max_user_watches" = 524288;
"net.core.rmem_max" = 16777216;
@ -20,7 +20,7 @@ in {
tmpOnTmpfs = true;
tmpOnTmpfsSize = "80%";
kernelPackages = mkIf (list.elem "zfs" config.boot.supportedFilesystems) (mkDefault config.boot.zfs.package.latestCompatibleLinuxPackages);
})
}
(mkIf (list.elem "zfs" config.boot.supportedFilesystems) {
kernelPackages = mkDefault config.boot.zfs.package.latestCompatibleLinuxPackages;
zfs.enableUnstable = true;

View file

@ -1,8 +1,4 @@
{ config, lib, pkgs, std, ... }: let
inherit (std) string;
inherit (lib.modules) mkForce;
in
{
_: {
console = {
font = "Tamzen7x14";
earlySetup = true;

View file

@ -1,16 +0,0 @@
{ config, pkgs, ... }: {
services.xserver = {
enable = true;
autorun = false;
exportConfiguration = true;
in {
startx.enable = true;
};
};
environment.systemPackages = with pkgs; [
xorg.xinit
xsel
scrot
];
}

View file

@ -1,7 +1,7 @@
{inputs}: let
std = import ./std.nix {inherit inputs;};
tree = import ./tree.nix {inherit inputs;};
lib = inputs.nixpkgs.lib;
inherit (inputs.nixpkgs) lib;
systems = import ./systems {inherit inputs tree lib std;};
shells = import ./shells {inherit inputs tree lib std pkgs;};
inherit (import ./pkgs.nix {inherit inputs tree;}) pkgs;