Compare commits

..

No commits in common. "1ec09c057147a09e1e3d26c9ef1897122cd80f49" and "b4aad0c1510d4c121f85f94e9d1dbafcf1e04fd3" have entirely different histories.

13 changed files with 127 additions and 70 deletions

8
flake.lock generated
View file

@ -383,11 +383,11 @@
"nixvim": "nixvim" "nixvim": "nixvim"
}, },
"locked": { "locked": {
"lastModified": 1759228895, "lastModified": 1753435585,
"narHash": "sha256-9Ft4D1DFjSBSPd6OB3mRRQeF6epF4nlZBAvDKcZDjNw=", "narHash": "sha256-RP5gyJlkvZYE67ZFh92X/Y43KiAoe6PENEVLolNriYM=",
"ref": "refs/heads/main", "ref": "refs/heads/main",
"rev": "3283a7f9e1f33c0c0d91718754cfc42c47d925e0", "rev": "05ad03cb362b42b9c6e463864a90fbeea06c93ba",
"revCount": 28, "revCount": 27,
"type": "git", "type": "git",
"url": "https://git.rougebordeaux.xyz/misschloe/miovim.git" "url": "https://git.rougebordeaux.xyz/misschloe/miovim.git"
}, },

View file

@ -6,10 +6,10 @@ border-radius=12
# Colors # Colors
background-color=#1e1e2e background-color=#eff1f5
text-color=#cdd6f4 text-color=#4c4f69
border-color=#cba6f7 border-color=#8839ef
progress-color=over #313244 progress-color=over #ccd0da
[urgency=high] [urgency=high]
border-color=#fab387 border-color=#fe640b

View file

@ -571,7 +571,6 @@ binds {
// wayland support // wayland support
spawn-at-startup "xwayland-satellite" spawn-at-startup "xwayland-satellite"
spawn-at-startup "poweralertd"
spawn-at-startup "swww-daemon" spawn-at-startup "swww-daemon"
spawn-at-startup "~/config/niri/start-bg.sh" spawn-at-startup "~/config/niri/start-bg.sh"
@ -582,7 +581,7 @@ environment {
// apps to launch at startup // apps to launch at startup
spawn-at-startup "discord" spawn-at-startup "discord"
spawn-at-startup "footclient" "nvim" "~/Documents/Notes" spawn-at-startup "footclient" "nvim" "~/Documents/Notes"
spawn-at-startup "cider-2" spawn-at-startup "cider"
clipboard { clipboard {
disable-primary disable-primary

View file

@ -23,7 +23,8 @@
"scroll-step": 0.2 "scroll-step": 0.2
}, },
"privacy": { "privacy": {
"icon-spacing": 4, "icon-size": 18, "icon-spacing": 4,
"icon-size": 18,
"transition-duration": 250, "transition-duration": 250,
"modules": [ "modules": [
{ {
@ -42,7 +43,7 @@
"format": "{}%  " "format": "{}%  "
}, },
"network": { "network": {
"interface": "wlo1", "interface": "wlp3s0",
"format": "{ifname}", "format": "{ifname}",
"format-wifi": " ", "format-wifi": " ",
"format-ethernet": "󰈀", "format-ethernet": "󰈀",
@ -76,7 +77,7 @@
"exec-if": "which swaync-client", "exec-if": "which swaync-client",
"exec": "swaync-client -swb", "exec": "swaync-client -swb",
"on-click": "swaync-client -t -sw", "on-click": "swaync-client -t -sw",
"on-click-right": "swaync-client -d -sw",
"escape": true "escape": true
}, },
"tray": { "tray": {
@ -88,7 +89,7 @@
"warning": 20, "warning": 20,
"critical": 10 "critical": 10
}, },
"format": "{capacity}% {icon}", "format": "{capacity}% {icon}"
"format-icons": ["", "", "", "", ""] "format-icons": ["", "", "", "", ""],
} }
} }

View file

@ -56,8 +56,8 @@
#workspaces button { #workspaces button {
border-radius: 0; border-radius: 0;
padding-left: 8px; padding-left: 3px;
padding-right: 8px; padding-right: 3px;
} }
#bluetooth { #bluetooth {
@ -109,11 +109,6 @@
margin-right: 16px; margin-right: 16px;
} }
#battery {
border-radius: 12px;
margin-right: 16px;
}
#window { #window {
margin-left: 16px; margin-left: 16px;
background-color: @surface0; background-color: @surface0;

View file

@ -1,5 +1,4 @@
{ {
inputs,
config, config,
pkgs, pkgs,
... ...
@ -24,7 +23,6 @@
home.packages = home.packages =
with pkgs; with pkgs;
[ [
forgejo-cli
yt-dlp yt-dlp
nerd-fonts.code-new-roman nerd-fonts.code-new-roman
ffmpegthumbnailer ffmpegthumbnailer
@ -90,8 +88,6 @@
nvimpager nvimpager
mpc mpc
fastfetch fastfetch
matugen
# # You can also create simple shell scripts directly inside your # # You can also create simple shell scripts directly inside your
# # configuration. For example, this adds a command 'my-hello' to your # # configuration. For example, this adds a command 'my-hello' to your
# # environment: # # environment:
@ -118,31 +114,31 @@
".config/mako".source = dotfiles/mako; ".config/mako".source = dotfiles/mako;
}; };
# programs.matugen = { programs.matugen = {
# enable = true; enable = true;
# variant = "dark"; variant = "dark";
#
# config = { config = {
# wallpaper = { wallpaper = {
# command = "swww"; command = "swww";
# arguments = [ arguments = [
# "img" "img"
# "--transition-type" "--transition-type"
# "center" "center"
# ]; ];
# set = true; set = true;
# }; };
# }; };
#
# templates = { templates = {
# waybar = { waybar = {
# input_path = "./templates/colors.css"; input_path = "./templates/colors.css";
# output_path = "~/.config/waybar/colors.css"; output_path = "~/.config/waybar/colors.css";
# post_hook = "pkill -SIGUSR2 waybar"; post_hook = "pkill -SIGUSR2 waybar";
# }; };
# }; };
# }; };
#
programs.direnv = { programs.direnv = {
enable = true; enable = true;
enableBashIntegration = true; # see note on other shells below enableBashIntegration = true; # see note on other shells below
@ -336,7 +332,6 @@
gpsh = "git push"; gpsh = "git push";
flake = "nix flake"; flake = "nix flake";
develop = "nix develop"; develop = "nix develop";
fj = "fj --host git.rougebordeaux.xyz";
}; };
history.size = 10000; history.size = 10000;

View file

@ -111,17 +111,9 @@
# $ nix search wget # $ nix search wget
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
poweralertd poweralertd
upower
matugen matugen
networkmanagerapplet
]; ];
services.upower = {
enable = true;
percentageLow = 20;
percentageCritical = 10;
percentageAction = 5;
};
nixpkgs.config.permittedInsecurePackages = [ nixpkgs.config.permittedInsecurePackages = [
"libsoup-2.74.3" "libsoup-2.74.3"
]; ];

View file

@ -10,7 +10,6 @@
cider-2 cider-2
iamb iamb
qutebrowser qutebrowser
ente-desktop
]; ];
virtualisation.containers.enable = true; virtualisation.containers.enable = true;

View file

@ -21,8 +21,6 @@ in
# Use the GRUB 2 boot loader. # Use the GRUB 2 boot loader.
boot.loader.grub.enable = true; boot.loader.grub.enable = true;
boot.loader.grub.device = "/dev/sda"; boot.loader.grub.device = "/dev/sda";
# Support for xterm.js in Proxmox
boot.kernelParams = [ "console=ttyS0" ]; boot.kernelParams = [ "console=ttyS0" ];
services.qemuGuest.enable = true; services.qemuGuest.enable = true;
@ -125,11 +123,6 @@ in
"unrar" "unrar"
]; ];
# log shouldnt eat all my hard drive
services.logrotate = {
enable = true;
};
# This option defines the first version of NixOS you have installed on this particular machine, # This option defines the first version of NixOS you have installed on this particular machine,
# and is used to maintain compatibility with application data (e.g. databases) created on older NixOS versions. # and is used to maintain compatibility with application data (e.g. databases) created on older NixOS versions.
# #

View file

@ -0,0 +1,40 @@
{ config, ... }:
let
authentik-version = "2024.6.1";
authentik-nix-src = builtins.fetchTarball {
url = "https://github.com/nix-community/authentik-nix/archive/version/${authentik-version}.tar.gz";
sha256 = "10ss29nzifyrq44080mjqa6xl6qw9mz755xcrla3kjxjl7d0mvlz";
};
authentik-nix = import authentik-nix-src;
cfg = config.authentik;
in
{
imports = [ authentik-nix.nixosModules.default ];
sops.secrets."authentik" = {
sopsFile = ../secrets/authentik.env;
format = "dotenv";
};
/*
sops.secrets.mail-server = {
sopsFile = ./secrets/mail.json;
format = "json";
};
*/
services.authentik = {
enable = true;
environmentFile = config.sops.secrets."authentik".path;
settings = {
/*
email = {
host = config.sops.secrets.mail-server."host";
username = config.sops.secrets.mail-server."username";
};
*/
disable_startup_analytics = true;
avatars = "initials";
};
};
}

View file

@ -0,0 +1,16 @@
{config, ...}:
{
virtualisation.oci-containers = {
backend = "docker";
containers = {
fourget = {
image = "luuul/4get:latest";
environment = {
"FOURGET_PROTO" = "http";
"FOURGET_SERVER_NAME" = "192.168.1.177:6942";
};
ports = ["6942:80"];
};
};
};
}

View file

@ -13,6 +13,12 @@
''; '';
*/ */
}; };
sshd = ''
enabled = true
port = ssh
logpath = %(sshd_log)s
backend = %(sshd_backend)s
'';
}; };
environment.etc = { environment.etc = {

View file

@ -0,0 +1,21 @@
{ config, pkgs, ... }:
{
environment.systemPackages = with pkgs; [ ircdHybrid ];
services.ircdHybrid = {
enable = false;
serverName = "irc.rougebordeaux.xyz";
description = "welcome to the silly kittens hut !! meow:3";
adminEmail = "admin@rougebordeaux.xyz";
};
/**
environment.etc = {
"ircd.conf" = {
text =''
'';
mode = "440";
};
};*
*/
}