Compare commits

...

3 Commits

Author SHA1 Message Date
b236928e2b
wo 2023-08-23 14:40:32 +03:00
d7fc77cd6a
stuff 2023-08-23 14:06:59 +03:00
b7711852ee
stuff 2023-08-23 14:06:38 +03:00
16 changed files with 472 additions and 480 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";
};
}
)
allPkgs;
# buildHost = {
# type = "app";
# };
}
)
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 {
inherit name type;
};
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,12 +1,13 @@
{pkgs, ...}: {
home.packages = [pkgs.swaylock-effects];
programs.swaylock.settings = {
screenshot = true;
ignore-empty-password = true;
clock = true;
effect-scale = "0.5";
effect-greyscale = true;
effect-blur = "20x3";
programs.swaylock = {
package = pkgs.swaylock-effects;
settings = {
screenshot = true;
ignore-empty-password = true;
clock = true;
effect-scale = "0.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

@ -112,7 +112,7 @@ in {
# 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