non important commit

This commit is contained in:
benstrb 2026-02-22 18:10:35 +01:00
parent ff071d2bf4
commit ab6b1d3975
18 changed files with 75 additions and 14 deletions

View file

@ -8,20 +8,22 @@
./verbatim.nix
./500G-disk.nix
../modules/graphics.nix
../modules/boot.nix
../modules/networking.nix
../modules/xdg-settings.nix
../modules/window-manager.nix
../modules/sddm.nix
../modules/main-user.nix
../modules/programs.nix
../modules/ssh.nix
../modules/sound.nix
../modules/printing.nix
../modules/input-handle.nix
../modules/keyboard.nix
../modules/locale.nix
../modules/system/graphics.nix
../modules/system/boot.nix
../modules/system/networking.nix
../modules/system/xdg-settings.nix
../modules/system/window-manager.nix
../modules/system/sddm.nix
../modules/system/main-user.nix
../modules/system/programs.nix
../modules/system/ssh.nix
../modules/system/sound.nix
../modules/system/printing.nix
../modules/system/input-handle.nix
../modules/system/keyboard.nix
../modules/system/locale.nix
../modules/dots/quick_shell/settings.nix
];
programs.niri.enable = true;

View file

@ -0,0 +1,24 @@
import Quickshell
import Quickshell.Widgets
import QtQuick
import QtQuick.Controls
ShellRoot {
PanelWindow {
anchors {
top: true
left: true
right: true
}
height: 32
color: "#1e1e2e"
Text {
anchors.centerIn: parent
text: "hello from quickshell"
color: "#cdd6f4"
font.pixelSize: 14
}
}
}

View file

@ -0,0 +1,9 @@
{stdenv}:
stdenv.mkDerivation {
pname = "quick_shell";
version = "stable";
src = ./config;
installPhase = ''
cp -r . $out
'';
}

View file

@ -0,0 +1,26 @@
{
pkgs,
inputs,
...
}: let
qs_config = pkgs.callPackage ./quick_config/quick.nix {};
quick_shell = inputs.quickshell.packages.${pkgs.system}.default;
in {
environment.systemPackages = [quick_shell];
systemd.user.services.quickshell = {
Unit = {
Description = "quickshell desktop shell";
After = ["graphical-session.target"];
PartOf = ["graphical-session.target"];
};
Install = {
WantedBy = ["graphical-session.target"];
};
Service = {
ExecStart = "${quick_shell}/bin/qs -c ${qs_config}/shell.qml";
Restart = "on-failure";
RestartSec = 3;
};
};
}