Initial commit

This commit is contained in:
2026-03-31 16:53:11 +02:00
commit d0eba1c834
343 changed files with 34443 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
{inputs, ...}: {
imports = [
(inputs.import-tree ./system)
(inputs.import-tree ./wayland)
];
}
+33
View File
@@ -0,0 +1,33 @@
{
config,
pkgs,
...
}: let
configFile = "cliphist/cliphistrc";
in {
users.users.someone.packages = with pkgs; [
cliphist
wl-clipboard
];
systemd.user.services.cliphist = {
description = "Clipboard management daemon";
wantedBy = ["graphical-session.target"];
after = ["graphical-session.target"];
partOf = ["graphical-session.target"];
serviceConfig = {
ExecStart = "${pkgs.wl-clipboard}/bin/wl-paste --watch ${pkgs.cliphist}/bin/cliphist -max-dedupe-search 10 -max-items 500 store";
Restart = "on-failure";
Type = "simple";
};
path = [pkgs.cliphist pkgs.wl-clipboard];
};
xdg.configFile."${configFile}".text = ''
allow_images=true
max_entries=500
database=${config.xdg.dataHome}/cliphist/db
'';
}
+18
View File
@@ -0,0 +1,18 @@
{
config,
pkgs,
...
}: {
systemd.user.services.gpg-agent = {
description = "GnuPG cryptographic agent and passphrase cache";
documentation = ["man:gpg-agent(1)"];
wantedBy = ["default.target"];
serviceConfig = {
Environment = "GNUPGHOME=${config.xdg.configHome}/gnupg";
ExecStart = "${pkgs.gnupg}/bin/gpg-agent --supervised";
ExecReload = "${pkgs.gnupg}/bin/gpgconf --reload gpg-agent";
Type = "simple";
};
};
}
+16
View File
@@ -0,0 +1,16 @@
{pkgs, ...}: {
users.users.someone.packages = with pkgs; [
polkit_gnome
];
systemd.user.services.polkit-gnome = {
description = "GNOME PolicyKit Agent";
wantedBy = ["graphical-session.target"];
after = ["graphical-session.target"];
partOf = ["graphical-session.target"];
serviceConfig = {
ExecStart = "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1";
};
};
}
+46
View File
@@ -0,0 +1,46 @@
{
config,
pkgs,
lib,
...
}: {
users.users.someone.packages = [pkgs.ashell];
xdg.configFile."ashell/config.toml".text = ''
[modules]
left = [ [ "appLauncher", "Updates", "Workspaces", "ScreenMirror" ], "MediaPlayer" ]
center = [ "WindowTitle" ]
right = [ "SystemInfo", [ "Tray", "Clock", "Privacy", "Settings" ] ]
[system_info]
indicators = [ "Cpu", "Memory", "Temperature" ]
[system_info.cpu]
warn_threshold = 60
alert_threshold = 80
[system_info.memory]
warn_threshold = 70
alert_threshold = 85
[system_info.temperature]
warn_threshold = 60
alert_threshold = 80
[tempo]
clock_format = "%a %d %b %R"
weather_location = { City = "Amsterdam" }
[appearance]
style = "Islands"
[[ScreenMirror]]
name = "ScreenMirror"
icon = ""
command = "bash /etc/nixos/scripts/screen-mirror.sh"
'';
}
+54
View File
@@ -0,0 +1,54 @@
{
config,
pkgs,
lib,
...
}: {
users.users.someone.packages = [pkgs.dunst];
xdg.configFile."dunst/dunstrc".text = ''
[global]
width = 300
height = 100
offset = 10x10
origin = top-right
frame_width = 0
frame_color = "#1f1d2e"
separator_color = "#313244"
font = "Source Code Pro 10"
line_height = 4
icon_position = left
max_icon_size = 48
min_icon_size = 24
show_age_threshold = 60
word_wrap = yes
ellipsize = middle
ignore_newline = no
stack_duplicates = true
hide_duplicate_count = false
show_indicators = yes
enable_recursive_icon_lookup = true
always_merge_stack_duplicates = false
icon_theme = "Papirus-Dark"
corner_radius = 8
scale = 1
monitor = 0
sort = yes
notification_limit = 0
[urgency_low]
background = "#1f1d2e"
foreground = "#cdd6f4"
frame_color = "#89b4fa"
[urgency_normal]
background = "#1f1d2e"
foreground = "#cdd6f4"
frame_color = "#89b4fa"
[urgency_critical]
background = "#1f1d2e"
foreground = "#f38ba8"
frame_color = "#f38ba8"
'';
}
+47
View File
@@ -0,0 +1,47 @@
{
config,
pkgs,
...
}: let
configFile = "gammastep/config.ini";
toINI = (pkgs.formats.ini {}).generate;
in {
users.users.someone.packages = with pkgs; [
(gammastep.override {
withRandr = false;
withDrm = false;
withVidmode = false;
withAppIndicator = false;
})
];
systemd.user.services.gammastep = {
description = "Gammastep colour temperature adjuster";
documentation = ["https://gitlab.com/chinstrap/gammastep/"];
wantedBy = ["graphical-session.target"];
after = ["graphical-session.target"];
partOf = ["graphical-session.target"];
serviceConfig = {
ExecStart = "${pkgs.gammastep}/bin/gammastep -c ${config.xdg.configHome}/${configFile}";
Restart = "on-failure";
RestartSec = "3";
};
};
xdg.configFile."${configFile}".source = toINI "config.ini" {
manual = {
lat = "-34.58";
lon = "-58.64";
};
general = {
brightness-day = "1.0";
brightness-night = "0.5";
adjustment-method = "wayland";
location-provider = "manual";
temp-day = "5500";
temp-night = "3500";
};
};
}
+42
View File
@@ -0,0 +1,42 @@
{
config,
pkgs,
lib,
...
}: {
users.users.someone.packages = [pkgs.walker pkgs.elephant];
xdg.configFile."walker/config.toml".text = ''
[keys]
launcher = "Mod+Space"
[keys.quit]
quit = "Mod+Shift+Q"
reload = "Mod+Shift+R"
[look]
all_monitors = true
background = "#1f1d2e"
foreground = "#cdd6f4"
selection = "#45475a"
active = "#89b4fa"
urgent = "#f38ba8"
alt_background = "#181825"
icon_theme = "Papirus-Dark"
terminal = "alacritty"
[look.font]
name = "Source Code Pro"
size = 14
'';
systemd.user.services.elephant = {
wantedBy = ["graphical-session.target"];
after = ["graphical-session.target"];
serviceConfig = {
ExecStart = "${pkgs.elephant}/bin/elephant";
Restart = "on-failure";
Type = "simple";
};
};
}