non important commit
This commit is contained in:
parent
ff071d2bf4
commit
ab6b1d3975
18 changed files with 75 additions and 14 deletions
|
|
@ -8,20 +8,22 @@
|
||||||
./verbatim.nix
|
./verbatim.nix
|
||||||
./500G-disk.nix
|
./500G-disk.nix
|
||||||
|
|
||||||
../modules/graphics.nix
|
../modules/system/graphics.nix
|
||||||
../modules/boot.nix
|
../modules/system/boot.nix
|
||||||
../modules/networking.nix
|
../modules/system/networking.nix
|
||||||
../modules/xdg-settings.nix
|
../modules/system/xdg-settings.nix
|
||||||
../modules/window-manager.nix
|
../modules/system/window-manager.nix
|
||||||
../modules/sddm.nix
|
../modules/system/sddm.nix
|
||||||
../modules/main-user.nix
|
../modules/system/main-user.nix
|
||||||
../modules/programs.nix
|
../modules/system/programs.nix
|
||||||
../modules/ssh.nix
|
../modules/system/ssh.nix
|
||||||
../modules/sound.nix
|
../modules/system/sound.nix
|
||||||
../modules/printing.nix
|
../modules/system/printing.nix
|
||||||
../modules/input-handle.nix
|
../modules/system/input-handle.nix
|
||||||
../modules/keyboard.nix
|
../modules/system/keyboard.nix
|
||||||
../modules/locale.nix
|
../modules/system/locale.nix
|
||||||
|
|
||||||
|
../modules/dots/quick_shell/settings.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.niri.enable = true;
|
programs.niri.enable = true;
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,9 @@
|
||||||
|
{stdenv}:
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
pname = "quick_shell";
|
||||||
|
version = "stable";
|
||||||
|
src = ./config;
|
||||||
|
installPhase = ''
|
||||||
|
cp -r . $out
|
||||||
|
'';
|
||||||
|
}
|
||||||
26
configuration/modules/dots/quick_shell/settings.nix
Normal file
26
configuration/modules/dots/quick_shell/settings.nix
Normal 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;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue