This commit is contained in:
dusk 2023-08-23 14:06:38 +03:00
parent f5419ea3f4
commit b7711852ee
Signed by: dusk
SSH Key Fingerprint: SHA256:Abmvag+juovVufZTxyWY8KcVgrznxvBjQpJesv071Aw
16 changed files with 469 additions and 477 deletions

File diff suppressed because it is too large Load Diff

View File

@ -26,14 +26,13 @@
bernbot.url = "github:yusdacra/bernbot";
bernbot.inputs.nixpkgs.follows = "nixpkgs";
blender-bin.url = "github:edolstra/nix-warez?dir=blender";
blender-bin.inputs.nixpkgs.follows = "nixpkgs";
conduit.url = "gitlab:famedly/conduit";
conduit.url = "gitlab:famedly/conduit/next";
conduit.inputs.nixpkgs.follows = "nixpkgs";
nil.url = "github:oxalica/nil";
nil.inputs.nixpkgs.follows = "nixpkgs";
# nil.url = "github:oxalica/nil";
# nil.inputs.nixpkgs.follows = "nixpkgs";
nixd.url = "github:nix-community/nixd";
nixd.inputs.nixpkgs.follows = "nixpkgs";
stylix.url = "github:yusdacra/stylix/fixed";
stylix.inputs.nixpkgs.follows = "nixpkgs";
@ -54,6 +53,9 @@
limbusart.url = "git+https://git.gaze.systems/dusk/limbusart.git";
limbusart.inputs.nixpkgs.follows = "nixpkgs";
steam-tui.url = "github:dmadisetti/steam-tui";
steam-tui.inputs.nixpkgs.follows = "nixpkgs";
# needed for hyprland setup
# hyprland.url = "github:hyprwm/Hyprland";
# hyprland.inputs.nixpkgs.follows = "nixpkgs";
@ -82,16 +84,28 @@
miscApps =
lib.mapAttrs
(
_: pkgs: {
generate-firefox-addons = {
_: cmds:
lib.mapAttrs
(_: cmd: {
type = "app";
program =
program = cmd;
})
cmds
)
(
lib.mapAttrs
(
_: pkgs: {
generate-firefox-addons =
toString
"${pkgs.generate-firefox-addons}/bin/generate-firefox-addons";
};
# buildHost = {
# type = "app";
# };
}
)
allPkgs;
allPkgs
);
in {
lib = tlib;
nixosConfigurations = import ./hosts {inherit lib tlib inputs;};

View File

@ -159,11 +159,5 @@ in {
xserver.videoDrivers = ["amdgpu"];
};
virtualisation = {
waydroid.enable = false;
podman.enable = false;
libvirtd.enable = false;
};
system.stateVersion = "22.05";
}

View File

@ -5,7 +5,7 @@
lib,
...
}: let
bernbotPkg = inputs.bernbot.packages.${pkgs.system}.bernbot;
bernbotPkg = inputs.bernbot.packages.${pkgs.system}.bernbot-release;
in {
systemd.services.bernbot = {
description = "bernbot";

View File

@ -1,17 +1,12 @@
{
pkgs,
lib,
...
}: let
{lib, ...}: let
l = lib // builtins;
mkRule = name: type:
l.toJSON {
mkRule = name: type: {
inherit name type;
};
in {
services.ananicy = {
enable = true;
extraRules = l.concatStringsSep "\n" [
extraRules = [
# coompilers
(mkRule "g++" "BG_CPUIO")
(mkRule "gcc" "BG_CPUIO")

View File

@ -1,15 +0,0 @@
_: prev: let
flags = [
"--ignore-gpu-blocklist"
"--disable-gpu-driver-bug-workarounds"
"--enable-features=WebUIDarkMode"
"--enable-gpu-rasterization"
"--enable-zero-copy"
"--force-dark-mode"
"--enable-webrtc-pipewire-capturer"
"--ozone-platform-hint=auto"
];
mkCliArgs = flags: prev.lib.concatStringsSep " " flags;
in {
chromium = prev.chromium.override {commandLineArgs = mkCliArgs flags;};
}

View File

@ -0,0 +1,3 @@
{inputs}: final: prev: {
steam-tui = inputs.steam-tui.packages.${final.system}.default;
}

View File

@ -7,20 +7,17 @@
enable = true;
commandLineArgs = [
"--ozone-platform-hint=auto"
"--enable-features=WaylandWindowDecorations"
"--enable-crashpad"
"--flag-switches-begin"
"--enable-gpu-rasterization"
"--enable-unsafe-webgpu"
"--enable-zero-copy"
"--ignore-gpu-blocklist"
"--disable-gpu-driver-bug-workarounds"
"--enable-webrtc-pipewire-capturer"
# "--force-dark-mode"
# "--enable-gpu-rasterization"
# "--enable-zero-copy"
# "--ignore-gpu-blocklist"
# "--disable-gpu-driver-bug-workarounds"
"--ozone-platform-hint=wayland"
"--enable-features=SystemNotifications,WaylandWindowDecorations,CanvasOopRasterization,EnableDrDc,RawDraw,WebRTCPipeWireCapturer"
"--disable-features=Vulkan"
"--enable-features=SystemNotifications,WaylandWindowDecorations,WebRTCPipeWireCapturer"
"--flag-switches-end"
"--disk-cache-dir=\"$XDG_RUNTIME_DIR/chromium-cache\""
"--process-per-site"
];
extensions = [
"cjpalhdlnbpafiamejdnhcphjbkeiagm" # ublock origin

View File

@ -9,12 +9,12 @@
".config/discordcanary"
];
xdg.configFile."discordcanary/settings.json".text = builtins.toJSON {
openasar = {
setup = true;
noTyping = true;
quickstart = true;
theme = builtins.readFile inputs.catppuccin-discord;
};
# openasar = {
# setup = true;
# noTyping = true;
# quickstart = true;
# # theme = builtins.readFile inputs.catppuccin-discord;
# };
SKIP_HOST_UPDATE = true;
IS_MAXIMIZED = true;
IS_MINIMIZED = false;
@ -38,7 +38,7 @@
pkg =
(pkgs.discord-canary.override {
nss = pkgs.nss_latest;
withOpenASAR = true;
# withOpenASAR = true;
})
.overrideAttrs (old: {
preInstall = ''

View File

@ -6,7 +6,7 @@
stylix.targets.helix.enable = false;
programs.helix = {
enable = true;
languages = [
languages.language = [
{
name = "dockerfile";
roots = ["Dockerfile" "Containerfile"];
@ -14,9 +14,12 @@
}
{
name = "nix";
language-server = {command = "${inputs.nil.packages.${pkgs.system}.default}/bin/nil";};
language-servers = ["nixd-lsp"];
}
];
languages.language-server = {
nixd-lsp = {command = "${inputs.nixd.packages.${pkgs.system}.default}/bin/nixd";};
};
settings = {
theme = "ferra";
editor = {

View File

@ -0,0 +1,6 @@
{config, pkgs, ...}: {
home.packages = [pkgs.ripcord];
home.persistence."${config.system.persistDir}${config.home.homeDirectory}".directories = [
".local/share/Ripcord"
];
}

View File

@ -1,7 +1,7 @@
{pkgs, ...}: {
home.packages = [pkgs.swaylock-effects];
programs.swaylock.settings = {
programs.swaylock = {
package = pkgs.swaylock-effects;
settings = {
screenshot = true;
ignore-empty-password = true;
clock = true;
@ -9,4 +9,5 @@
effect-greyscale = true;
effect-blur = "20x3";
};
};
}

View File

@ -24,9 +24,17 @@ in {
};
}
];
# configure history
history = {
extended = true;
ignorePatterns = ["rm *" "mv *" "l" "ls" "ll" "g s" "git status"];
save = 1000000;
size = 1000000;
};
# xdg compliant
dotDir = ".config/zsh";
history.path = "${config.home.homeDirectory}/.local/share/zsh/history";
# extra stuff for fixing gpg-agent ssh and some random commands
initExtra = ''
${
lib.optionalString

View File

@ -108,11 +108,11 @@ in {
["sway" "foot"]
# desktop stuff
["wayland"]
["chromium"]
["ripcord" "discord" "chromium"]
# cli stuff
["zoxide" "zsh" "fzf" "starship" "direnv"]
# dev stuff
["helix" "code" "git" "ssh"]
["helix" "git" "ssh"]
["musikcube" "musikcubed"]
];
in
@ -182,7 +182,7 @@ in {
font-awesome
dejavu_fonts
# Programs
inputs.blender-bin.packages.x86_64-linux.default
pixelorama
krita
gnupg
imv
@ -198,7 +198,8 @@ in {
helvum
nix-output-monitor
# prismlauncher
godot_4
steamPackages.steamcmd
steam-tui
];
};
programs = {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 MiB

After

Width:  |  Height:  |  Size: 1.9 MiB