Compare commits

..
Author SHA1 Message Date
4f3b2d356d
remove debug logs from continuwuity 2026-11-20 17:24:38 -05:00
2f6ff7a141
add new fht compositor patch 2026-11-19 15:20:57 -05:00
74286bc43d
add monitor shutdown script for quadraticpc 2026-11-19 14:55:45 -05:00
9edfb60d3f
add super+l for lock 2026-11-19 14:14:43 -05:00
1e452a7698
use bg directly for bg of hyprlock 2026-11-19 14:10:05 -05:00
57ceabb1a1
remove leftover hardware stuff from old laptop 2026-11-19 14:01:45 -05:00
cad420aa4a
bring back hyprlock on desktop 2026-11-19 13:54:14 -05:00
a4c67b3058
add fprintd to quadtop 2026-11-19 13:40:46 -05:00
d80d82b312
use other branch of nixphone 2026-11-19 11:40:43 -05:00
13b7f4b67e
fixup startup race 2026-11-19 11:32:43 -05:00
569518fa7c
add different passwords per-host 2026-11-19 11:11:09 -05:00
2ecb47c6a9
working unl0kr 2026-11-19 11:02:26 -05:00
23c5c120f7
fixup unl0kr on mobile 2026-11-19 01:03:03 -05:00
69eafd8425
drop authenticator 2026-11-19 00:36:54 -05:00
c77f8dc415
hide firebutton on ff 2026-11-19 00:33:14 -05:00
4c451ce3df
add FDE for quadphone and quadtop 2026-11-18 22:10:24 -05:00
14a2d77ca4
bump nix-maid 2026-11-18 12:11:00 -05:00
4e94ad7b70
add comment as to why olm is needed 2026-11-18 12:01:38 -05:00
f924151c68
remove old cross fixes that are no longer needed 2026-11-18 11:58:34 -05:00
5a9ab1f03e
fix gaypanel patch 2026-11-18 10:59:50 -05:00
d67ccd8d1e
bump lock 2026-11-18 10:50:51 -05:00
9b9c734835
bump lock 2026-11-18 10:32:21 -05:00
5c4f2f344a
bump niri 2026-11-18 00:57:28 -05:00
a6761a8848
bump quadshell 2026-11-18 00:42:09 -05:00
cdec9161f1
remove extra padding to the right of hamburger on librewolf 2026-11-18 00:34:59 -05:00
52e7a2ad8a
bump lock 2026-11-18 00:19:36 -05:00
0bb5012125
add adw-bluetooth on mobile 2026-11-18 00:11:51 -05:00
61494e77cd
rm some old packages from mobile 2026-11-17 23:39:02 -05:00
0e4188a00f
rm g-c-c 2026-11-17 23:36:30 -05:00
ac2e68f335
bump quadshell 2026-11-17 23:32:15 -05:00
d6728c1c96
bump to new quadshell 2026-11-17 23:12:53 -05:00
e48297d2ba
add qml settings 2026-11-17 18:20:45 -05:00
03f2c9f500
add qml extension 2026-11-17 18:19:07 -05:00
e912fd156b
add quadshell 2026-11-17 16:53:26 -05:00
442a8071a1
bump stevia 2026-11-17 16:48:50 -05:00
eb322742ed
hide overflow list for librewolf 2026-11-17 15:07:51 -05:00
ba277234a8
fixup librewolf mobile 2026-11-17 14:48:45 -05:00
8e3a9bcc75
clean up librewolf config 2026-11-17 13:03:58 -05:00
6e13a0f258
fix vscodium config 2026-11-17 12:53:48 -05:00
cbe2aaa294
update librewolf config to use XDG dirs 2026-11-17 12:53:12 -05:00
9922176f17
add swaync config for mobile 2026-11-17 12:30:57 -05:00
554fdffd6a
fixup gtklock layout, fade to black before suspend 2026-11-17 12:00:32 -05:00
8950720040
hide close button on mobile 2026-11-17 11:37:32 -05:00
1971a05281
add gtklock logging 2026-11-17 09:56:50 -05:00
8bd6b91288
stop locks racing 2026-11-17 09:41:41 -05:00
527374059e
add librewolf mobile config 2026-11-17 00:29:59 -05:00
eca3c70d93
bump app-grid 2026-11-17 00:13:12 -05:00
123e37f462
replace overskride with adw-bluetooth 2026-11-17 00:09:48 -05:00
fc667a38a8
add overskride to graphical packages 2026-11-16 23:57:22 -05:00
7baee200fb
use remote stevia 2026-11-16 23:53:11 -05:00
cf92170b72
use niri flake 2026-11-16 23:36:08 -05:00
e96169744c
use remote niri 2026-11-16 23:27:02 -05:00
8f811019b9
bump niri 2026-11-16 21:39:55 -05:00
160a8f065e
make wl-clip-persist on all graphical systems 2026-11-16 21:21:49 -05:00
0ae2f07b21
use remote app-grid 2026-11-16 21:12:39 -05:00
2427d2eaca
use app-grid overlay 2026-11-16 21:04:27 -05:00
1e3178314b
write logs more often on phone 2026-11-16 20:57:39 -05:00
b724365947
rm kooha 2026-11-16 20:29:40 -05:00
659ede858e
dont let any windows float 2026-11-16 20:28:48 -05:00
610f6e61b3
add kooha to mobile 2026-11-16 20:25:23 -05:00
6e8da25d92
don't GC other profiles 2026-11-16 20:25:13 -05:00
28f7026ba0
add nmgui for desktop, move g-c-c to mobile only 2026-11-16 20:18:26 -05:00
4f80f7de70
add gnome settings 2026-11-16 20:09:53 -05:00
9ed2241b31
add new stevia patch 2026-11-16 19:55:39 -05:00
19f587733a
bump lock 2026-11-16 19:31:30 -05:00
777c05a31e
update niri config 2026-11-16 19:23:44 -05:00
f3f768482c
adjust niri 2026-11-16 18:16:46 -05:00
502f41380b
swap to gtklock 2026-11-16 17:40:41 -05:00
c5c04a8aac
add niri mobile 2026-11-16 16:24:48 -05:00
8444754cf4
fix gaypanel 2026-11-16 16:24:48 -05:00
3c65e8e78d
fix gaypanel 2026-11-16 14:43:57 -05:00
40 changed files with 863 additions and 338 deletions

View file

@ -1,56 +1,8 @@
{
inputs,
lib,
...
}:
{
nixpkgs.overlays = [
(final: prev: {
gnome = prev.gnome // {
nixos-gsettings-overrides = prev.gnome.nixos-gsettings-overrides.override {
glib = final.buildPackages.glib;
};
};
# Meson looks for gio and gdbus-codegen for the build machine
gnome-session = prev.gnome-session.overrideAttrs (old: {
depsBuildBuild = (old.depsBuildBuild or [ ]) ++ [
final.pkgsBuildBuild.pkg-config
final.pkgsBuildBuild.glib
];
});
})
];
# TODO: flutter apps don't cross compile, and the flake's package isn't cached
programs.nexus.enable = lib.mkForce false;
# The cache builder doesn't find gtk-query-immodules-3.0 when cross compiling,
# and GNOME Shell connects apps to IBus itself, so the GTK module isn't used anyway.
i18n.inputMethod.enableGtk3 = false;
# Needs python gi on the build machine, and only connects desktop browsers to
# extensions.gnome.org anyway.
services.gnome.gnome-browser-connector.enable = false;
# nix-maid runs the host mustache-go at build time, swap in a copy of its core
# module that uses the build platform's one for that step.
# TODO: upstream (use pkgs.buildPackages.mustache-go in core.nix)
maid.sharedModules =
let
core = "${inputs.nix-maid}/src/maid/modules/core.nix";
in
[
{
disabledModules = [ core ];
imports = [
(builtins.toFile "nix-maid-core.nix" (
builtins.replaceStrings
[ "import ../vars.nix" "lib.getExe pkgs.mustache-go" ]
[ "import ${inputs.nix-maid}/src/maid/vars.nix" "lib.getExe pkgs.buildPackages.mustache-go" ]
(builtins.readFile core)
))
];
}
];
}

View file

@ -5,7 +5,6 @@
...
}:
let
cfg = config.quadphone;
host = config.nixpkgs.hostPlatform;
otherOverlays = lib.init config.nixpkgs.overlays;
@ -41,8 +40,7 @@ let
let
name = lib.concatStringsSep "." path;
in
!(builtins.elem name cfg.crossPackages)
&& builtins.match toolchainRegex name == null
builtins.match toolchainRegex name == null
&& lib.isDerivation native
&& lib.meta.availableOn host native
&& (native.meta.license.free or true)
@ -96,15 +94,6 @@ let
v;
in
{
options.quadphone.crossPackages = lib.mkOption {
type = with lib.types; listOf str;
default = [ ];
description = ''
Top-level attribute names that should always be cross-compiled instead of
substituted from the binary cache (i.e. ones that turn out not to be cached).
'';
};
config = {
nixpkgs.buildPlatform = "x86_64-linux";

23
clients/quadphone/fde.nix Normal file
View file

@ -0,0 +1,23 @@
{
# The image is built with an empty LUKS passphrase (systemd-repart can't take a
# key file through the NixOS image builder). After flashing, set a real passphrase
# and rotate the volume key, since the image's key is sitting in the nix store:
# run0 systemd-cryptenroll --password --wipe-slot=empty /dev/disk/by-partlabel/nixos
# run0 cryptsetup reencrypt /dev/disk/by-partlabel/nixos
image.repart.partitions."30-root".repartConfig.Encrypt = "key-file";
boot.initrd = {
luks.forceLuksSupportInInitrd = true;
unl0kr = {
enable = true;
settings = {
general.backend = "drm";
theme = {
default = "nord-dark";
alternate = "nord-light";
};
};
};
systemd.settings.Manager.DefaultDeviceTimeoutSec = "infinity";
};
}

View file

@ -0,0 +1,58 @@
{ pkgs, ... }:
let
# Sets VCP 0xD6 (power mode) on every display: 01 = on, 05 = off (even monitors that say they don't support it are usually lying)
monitor-power = pkgs.writeShellApplication {
name = "monitor-power";
runtimeInputs = with pkgs; [
ddcutil
gnugrep
coreutils
];
text = ''
for bus in $(ddcutil detect --terse | grep -oP '/dev/i2c-\K\d+'); do
(for _ in 1 2 3 4 5; do ddcutil --bus "$bus" setvcp D6 "$1" && break; sleep 1; done) &
done
wait
'';
};
in
{
hardware.i2c.enable = true;
environment.systemPackages = [
pkgs.ddcutil
monitor-power
];
systemd.services =
let
# ddcutil refuses to start without a cache dir, and services have no HOME
serviceConfig = {
Type = "oneshot";
RemainAfterExit = true;
CacheDirectory = "ddcutil";
Environment = "XDG_CACHE_HOME=/var/cache";
};
in
{
monitor-power = {
wantedBy = [ "multi-user.target" ];
after = [ "systemd-modules-load.service" ];
# Otherwise every rebuild that touches this unit blinks the monitors
restartIfChanged = false;
serviceConfig = serviceConfig // {
ExecStart = "${monitor-power}/bin/monitor-power 01";
ExecStop = "${monitor-power}/bin/monitor-power 05";
};
};
monitor-power-sleep = {
wantedBy = [ "sleep.target" ];
before = [ "sleep.target" ];
unitConfig.StopWhenUnneeded = true;
serviceConfig = serviceConfig // {
ExecStart = "${monitor-power}/bin/monitor-power 05";
ExecStop = "${monitor-power}/bin/monitor-power 01";
};
};
};
}

View file

@ -20,7 +20,7 @@
displayName = "Search";
originUrl = "https://${domain}/oauth2/callback";
originLanding = "https://${domain}";
imageFile = "${config.services.degoog.package}/share/degoog/src/public/images/degoog-logo.svg";
imageFile = "${config.services.degoog.package}/share/degoog/src/public/images/degoog-logo.svg";
basicSecretFile = "/var/lib/kanidm-oauth2-secrets/${client}";
preferShortUsername = true;
scopeMaps.idm_all_persons = [
@ -74,10 +74,14 @@
};
systemd.services = {
caddy.serviceConfig.SupplementaryGroups = [
"degoog"
"oauth2-proxy"
];
caddy = {
wants = [ "degoog.service" ];
after = [ "degoog.service" ];
serviceConfig.SupplementaryGroups = [
"degoog"
"oauth2-proxy"
];
};
oauth2-proxy = {
requires = [ "kanidm.service" ];

View file

@ -339,6 +339,8 @@ in
serviceConfig = hardening // {
Type = "oneshot";
RemainAfterExit = true;
Restart = "on-failure";
RestartSec = 5;
User = "kanidm";
Group = "kanidm";
StateDirectory = "kanidm-bootstrap";
@ -397,8 +399,10 @@ in
kanidm-mail-sender = {
description = "Kanidm mail sender";
wantedBy = [ "multi-user.target" ];
wants = [ "network-online.target" ];
requires = [ "kanidm-bootstrap.service" ];
wants = [
"network-online.target"
"kanidm-bootstrap.service"
];
after = [
"network-online.target"
"kanidm-bootstrap.service"

View file

@ -76,8 +76,6 @@ in
"@nex:starstruck.systems"
];
log = ''info,[transaction{origin="matrix.org"}]=debug,[transaction{origin="zirco.dev"}]=debug,[transaction{origin="starstruck.systems"}]=debug'';
well_known = {
support_email = "henry@henryhiles.com";
support_mxid = "@quadradical:${domain}";

36
clients/quadtop/disko.nix Normal file
View file

@ -0,0 +1,36 @@
{ inputs, ... }:
{
imports = [ inputs.disko.nixosModules.disko ];
disko.devices.disk.main = {
type = "disk";
device = "/dev/nvme0n1";
content = {
type = "gpt";
partitions = {
ESP = {
size = "1G";
type = "EF00";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
mountOptions = [ "umask=0077" ];
};
};
luks = {
size = "100%";
content = {
type = "luks";
name = "cryptroot";
settings.allowDiscards = true;
content = {
type = "filesystem";
format = "ext4";
mountpoint = "/";
};
};
};
};
};
};
}

View file

@ -0,0 +1,4 @@
{
# Enroll after install with `fprintd-enroll`.
services.fprintd.enable = true;
}

View file

@ -3,6 +3,6 @@
"--force-grab-cursor"
"-W 1920"
"-H 1080"
"-r 120"
"-r 60"
];
}

View file

@ -1,30 +1,14 @@
{
boot = {
initrd = {
availableKernelModules = [
"xhci_pci"
"ahci"
"nvme"
"usb_storage"
"sd_mod"
];
kernelModules = [ ];
};
kernelModules = [ "kvm-intel" ];
extraModulePackages = [ ];
initrd.availableKernelModules = [
"nvme"
"xhci_pci"
];
kernelModules = [ "kvm-amd" ];
};
fileSystems = {
"/" = {
device = "/dev/disk/by-uuid/15598217-e3e1-4922-b336-8e9f62fad939";
fsType = "ext4";
};
"/boot" = {
device = "/dev/disk/by-uuid/C6EC-B430";
fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ];
};
hardware = {
amdgpu.initrd.enable = true;
cpu.amd.updateMicrocode = true;
};
hardware.cpu.intel.updateMicrocode = true;
}

View file

@ -1,19 +0,0 @@
{
services.xserver.videoDrivers = [ "nvidia" ];
hardware.nvidia = {
prime = {
offload = {
enable = true;
enableOffloadCmd = true;
};
intelBusId = "PCI:00:02:0";
nvidiaBusId = "PCI:01:00:0";
};
open = true;
nvidiaSettings = false;
nvidiaPersistenced = false;
dynamicBoost.enable = true;
powerManagement.finegrained = true;
};
}

200
flake.lock generated
View file

@ -74,6 +74,26 @@
"type": "github"
}
},
"app-grid": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1794892850,
"narHash": "sha256-7kOT7EWzzNnKvuuPkTx9HciJ7Kd1ZrUbZJcwKgqq+w0=",
"ref": "refs/heads/main",
"rev": "ab0704e682c8b394edbec55c2b7b83d1601f7da8",
"revCount": 4,
"type": "git",
"url": "https://git.federated.nexus/Henry-Hiles/app-grid"
},
"original": {
"type": "git",
"url": "https://git.federated.nexus/Henry-Hiles/app-grid"
}
},
"base16": {
"inputs": {
"fromYaml": "fromYaml"
@ -281,11 +301,11 @@
]
},
"locked": {
"lastModified": 1793997955,
"narHash": "sha256-Smi0gGdpBHiowEIU1oNBkeUx+27VcYJpz2Z7X7hFC1I=",
"lastModified": 1795004531,
"narHash": "sha256-3fvQO3U9rhUkBNxe56X6Ta5huTShZ2mtavi49o7tMvY=",
"owner": "degoog-org",
"repo": "degoog",
"rev": "cf012d9b639b9d5d874560ab69b31e02d29a6bb4",
"rev": "5490ca46096167cbf9b6f9480e7ac83726c0ce7e",
"type": "github"
},
"original": {
@ -779,11 +799,11 @@
]
},
"locked": {
"lastModified": 1794806514,
"narHash": "sha256-hRJv/aBOgTE5HnUFWi7yD1vTckeZ+WNIrrJ/hLhLQiM=",
"lastModified": 1794948232,
"narHash": "sha256-ngHNaADvk405ZLGgGK4j1AqbXTEVSQFN94Dw0KqSJI8=",
"ref": "refs/heads/main",
"rev": "c3d58126ff1351d85bc03a1139139324898559cb",
"revCount": 383,
"rev": "51021d3af207c519ab5d9824af940d48ca9eabc1",
"revCount": 393,
"type": "git",
"url": "https://codeberg.org/pastthepixels/gaypanel"
},
@ -814,25 +834,6 @@
"type": "github"
}
},
"gnome-mobile": {
"inputs": {
"gnome-shell-mobile": "gnome-shell-mobile",
"mutter-mobile": "mutter-mobile",
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 0,
"narHash": "sha256-nO7cqicSHCjn96qMIV1JKwDei3n56Ra4G6rtaePbu3k=",
"type": "git",
"url": "file:///home/quadradical/Documents/Code/nixos-gnome-mobile"
},
"original": {
"type": "git",
"url": "file:///home/quadradical/Documents/Code/nixos-gnome-mobile"
}
},
"gnome-shell": {
"flake": false,
"locked": {
@ -852,21 +853,6 @@
"type": "gitlab"
}
},
"gnome-shell-mobile": {
"flake": false,
"locked": {
"dirtyRev": "c602286053f9e06b3493decb4a9dabe8ba20ad9c-dirty",
"dirtyShortRev": "c60228605-dirty",
"lastModified": 1793323139,
"narHash": "sha256-DTqRtdXSwmb8ovlEmzVf7CcwtjRgpXinuWCb+1CgTc0=",
"type": "git",
"url": "file:///home/quadradical/Documents/Code/gnome-shell-mobile"
},
"original": {
"type": "git",
"url": "file:///home/quadradical/Documents/Code/gnome-shell-mobile"
}
},
"home-manager": {
"inputs": {
"nixpkgs": [
@ -874,11 +860,11 @@
]
},
"locked": {
"lastModified": 1794715309,
"narHash": "sha256-awkBBs5ctFKgEYjpNGpi3t/VqF589n5EWfdinRb2gNI=",
"lastModified": 1794963576,
"narHash": "sha256-+CPrP74GDJ63f7bgEFC9Av4hbxc7K9WUNv1ZVRifRe8=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "a1293da7dd8e497e08d26173f97e2976b36a31ea",
"rev": "2b13c9cb3aa20653e6f8ee0b7f8331a53ea9b0a9",
"type": "github"
},
"original": {
@ -921,21 +907,6 @@
"url": "https://git.federated.nexus/Henry-Hiles/matrixoidc"
}
},
"mutter-mobile": {
"flake": false,
"locked": {
"dirtyRev": "7e7b25f68c7719ebf3b651808824e0c8bd33020d-dirty",
"dirtyShortRev": "7e7b25f68-dirty",
"lastModified": 1793323139,
"narHash": "sha256-mvdRwZfbnlzBrwr0bT4ZItYcM15smb7gkpppwIEp64k=",
"type": "git",
"url": "file:///home/quadradical/Documents/Code/mutter-mobile"
},
"original": {
"type": "git",
"url": "file:///home/quadradical/Documents/Code/mutter-mobile"
}
},
"nexus": {
"inputs": {
"continuwuity": "continuwuity_2",
@ -946,11 +917,11 @@
]
},
"locked": {
"lastModified": 1794839305,
"narHash": "sha256-LoJibO1DD1is9P2DtjjqHKBFxmupVlbFb3QavT2wnR0=",
"lastModified": 1795013460,
"narHash": "sha256-GSeulyglamkjHjdD2fCIddwZ2Phy6CZ4GyauzHPi6iE=",
"ref": "refs/heads/main",
"rev": "3112871ceb0f1e94513ebb70c01e84c7f3443100",
"revCount": 1255,
"rev": "01938119931f92be47ca0c5b44ece2989b0d482e",
"revCount": 1267,
"submodules": true,
"type": "git",
"url": "https://git.federated.nexus/Nexus/nexus"
@ -981,6 +952,27 @@
"url": "https://git.federated.nexus/federated-nexus/nexusbot"
}
},
"niri-mobile": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1795016524,
"narHash": "sha256-gpq5p9sIORvbvR5S095ixBprS2/oXIrdXyg+Y8EQtDs=",
"owner": "Henry-Hiles",
"repo": "niri",
"rev": "cd9fabb98e9c3f5048d6f8fd2de5f9460a3efeb8",
"type": "github"
},
"original": {
"owner": "Henry-Hiles",
"ref": "quad/mobile",
"repo": "niri",
"type": "github"
}
},
"nix-github-actions": {
"inputs": {
"nixpkgs": [
@ -1004,17 +996,18 @@
},
"nix-maid": {
"locked": {
"lastModified": 1794213517,
"narHash": "sha256-bryY6i495uT5OEz0eSeTPeJ35E6JLpI0PjPGNa5EdRk=",
"ref": "refs/heads/master",
"rev": "d4f00026e380858e683a022abe313a0ae52ad2c0",
"revCount": 136,
"lastModified": 1795021775,
"narHash": "sha256-KwipEAmXRwCpFccoUXkE7bw4Rg3Fqlm0GpSVNLlvCTU=",
"ref": "quad/fix/cross-mustache",
"rev": "f1fc27b1a9f4c2707a229683843edd97738b248b",
"revCount": 138,
"type": "git",
"url": "https://codeberg.org/viperML/nix-maid"
"url": "https://codeberg.org/Henry-Hiles/nix-maid"
},
"original": {
"ref": "quad/fix/cross-mustache",
"type": "git",
"url": "https://codeberg.org/viperML/nix-maid"
"url": "https://codeberg.org/Henry-Hiles/nix-maid"
}
},
"nix2flatpak": {
@ -1046,26 +1039,27 @@
]
},
"locked": {
"lastModified": 1794327622,
"narHash": "sha256-mJlrDqLL7Xqz1avdukOJyaA52EauQMoJ6/DBO7rptQg=",
"ref": "refs/heads/master",
"rev": "5dc82c9de380dba9df746ad516363d08b1fe4c93",
"revCount": 53,
"lastModified": 1795105247,
"narHash": "sha256-S0pWLHzB0u7y/t9OUk+xhxWNqIFY8DuJA2S2ONNQmww=",
"ref": "quad/fix/sdm845-initrd",
"rev": "fbcf8cf2e49c21af5cb1bdcf9f661af74d2dc8b3",
"revCount": 54,
"type": "git",
"url": "https://codeberg.org/nixphone/nixphone"
},
"original": {
"ref": "quad/fix/sdm845-initrd",
"type": "git",
"url": "https://codeberg.org/nixphone/nixphone"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1794537146,
"narHash": "sha256-Wpz/7x/YWnDIBu7yj6ixe8j6fIMsidd9Y+o1PqPF3iM=",
"lastModified": 1794890597,
"narHash": "sha256-lME2lHoDHAaSHP3/okgiVoJ0icVEvsQH8LeU3We7tcc=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "d5cc6833999746cffdfe0598f7bc801a57b887a9",
"rev": "04906337b6d53e8bb0eaf0470ae9f070a4d4eb55",
"type": "github"
},
"original": {
@ -1235,10 +1229,31 @@
"type": "github"
}
},
"quadshell": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1795014593,
"narHash": "sha256-BPxE0o1cicSrKejw1Zy0yNV2c6eEFpYxQLxaJnDwA+A=",
"ref": "refs/heads/main",
"rev": "66bdba9a05985399d99a8d34278dd59fdf0669e5",
"revCount": 10,
"type": "git",
"url": "https://git.federated.nexus/Henry-Hiles/quadshell"
},
"original": {
"type": "git",
"url": "https://git.federated.nexus/Henry-Hiles/quadshell"
}
},
"root": {
"inputs": {
"agenix": "agenix",
"agenix-cli": "agenix-cli",
"app-grid": "app-grid",
"continuwuity": "continuwuity",
"cozybot": "cozybot",
"degoog": "degoog",
@ -1248,18 +1263,20 @@
"flake-parts": "flake-parts_5",
"gadgetfs": "gadgetfs",
"gaypanel": "gaypanel",
"gnome-mobile": "gnome-mobile",
"home-manager": "home-manager",
"lk-jwt-service-module": "lk-jwt-service-module",
"matrixoidc": "matrixoidc",
"nexus": "nexus",
"nexusbot": "nexusbot",
"niri-mobile": "niri-mobile",
"nix-maid": "nix-maid",
"nixphone": "nixphone",
"nixpkgs": "nixpkgs",
"quadshell": "quadshell",
"run0-sudo-shim": "run0-sudo-shim",
"sable": "sable",
"sable-next": "sable-next",
"stevia-mobile": "stevia-mobile",
"stylix": "stylix",
"wrapper-manager": "wrapper-manager"
}
@ -1368,11 +1385,11 @@
]
},
"locked": {
"lastModified": 1794833435,
"narHash": "sha256-KrUwt40VEm7MaUULGXRRflSlmyRQEam+0CED+ewOLHE=",
"lastModified": 1795015701,
"narHash": "sha256-S6oHH5S2sziGcqTUBiyzmkABUtsY/JT9eHtozN/N2fg=",
"ref": "refs/heads/main",
"rev": "ba9340cee718a8aae962a2171f44d3a25c793589",
"revCount": 8292,
"rev": "4c8b5133de1804a6a759169bcb9fe93124d0ee3e",
"revCount": 8426,
"type": "git",
"url": "https://git.sable.moe/SableClient/sable-next"
},
@ -1381,6 +1398,23 @@
"url": "https://git.sable.moe/SableClient/sable-next"
}
},
"stevia-mobile": {
"flake": false,
"locked": {
"lastModified": 1794931711,
"narHash": "sha256-o77hyGwV3ipquHABWk0zAP3QniiORpi3WmdQ26Dp1pg=",
"ref": "quad/mobile",
"rev": "40ed1ab05b5b81cdabb76a959c4fc681fd216d3b",
"revCount": 1348,
"type": "git",
"url": "https://gitlab.gnome.org/Henry-Hiles/stevia"
},
"original": {
"ref": "quad/mobile",
"type": "git",
"url": "https://gitlab.gnome.org/Henry-Hiles/stevia"
}
},
"stylix": {
"inputs": {
"base16": "base16",

View file

@ -3,17 +3,29 @@
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
wrapper-manager.url = "git+https://codeberg.org/viperML/wrapper-manager";
flake-parts.url = "github:hercules-ci/flake-parts";
nix-maid.url = "git+https://codeberg.org/viperML/nix-maid";
nix-maid.url = "git+https://codeberg.org/Henry-Hiles/nix-maid?ref=quad/fix/cross-mustache";
gadgetfs = {
url = "github:sorki/nixos-gadgetfs-proto";
flake = false;
};
gnome-mobile = {
url = "git+file:///home/quadradical/Documents/Code/nixos-gnome-mobile";
app-grid = {
url = "git+https://git.federated.nexus/Henry-Hiles/app-grid";
inputs.nixpkgs.follows = "nixpkgs";
};
quadshell = {
url = "git+https://git.federated.nexus/Henry-Hiles/quadshell";
inputs.nixpkgs.follows = "nixpkgs";
};
niri-mobile = {
url = "github:Henry-Hiles/niri/quad/mobile";
inputs.nixpkgs.follows = "nixpkgs";
};
stevia-mobile = {
url = "git+https://gitlab.gnome.org/Henry-Hiles/stevia?ref=quad/mobile";
flake = false;
};
nixphone = {
url = "git+https://codeberg.org/nixphone/nixphone";
url = "git+https://codeberg.org/nixphone/nixphone?ref=quad/fix/sdm845-initrd";
inputs.nixpkgs.follows = "nixpkgs";
};
continuwuity = {

View file

@ -1,4 +1,9 @@
{ pkgs, lib, ... }:
{
config,
pkgs,
lib,
...
}:
let
aliases = {
upgrade = "nh os switch --update";
@ -23,8 +28,15 @@ in
(
command: host:
pkgs.writeShellScriptBin command ''
# Stop other systems from getting GC'd
keep() {
path=$(nix build --no-link --print-out-paths \
"${config.programs.nh.flake}#nixosConfigurations.${host}.config.system.build.toplevel")
sudo nix-env --profile /nix/var/nix/profiles/${host} --set "$path"
}
${lib.concatMapAttrsStringSep "\n" (
name: cmd: ''${name}() { ${cmd} -H ${host} --target-host ${command} --diff never "$@"; }''
name: cmd: ''${name}() { ${cmd} -H ${host} --target-host ${command} --diff never "$@" && keep; }''
) aliases}
"$@"

View file

@ -2,17 +2,21 @@
{
users = {
mutableUsers = false;
users = {
root.hashedPasswordFile = config.age.secrets."password.age".path;
quadradical = {
isNormalUser = true;
hashedPasswordFile = config.age.secrets."password.age".path;
description = "QuadRadical";
extraGroups = [
"wheel"
"networkmanager"
];
users =
let
password = config.age.secrets."password-${config.networking.hostName}.age".path;
in
{
root.hashedPasswordFile = password;
quadradical = {
isNormalUser = true;
hashedPasswordFile = password;
description = "QuadRadical";
extraGroups = [
"wheel"
"networkmanager"
];
};
};
};
};
}

View file

@ -1,10 +1,11 @@
{ pkgs, ... }:
{
services.adw-bluetooth.enable = true;
environment.systemPackages = with pkgs; [
nmgui
heroic
inkscape
libreoffice
authenticator
prismlauncher
];
}

View file

@ -37,6 +37,18 @@
version = "0.2.1";
sha256 = "sha256-uHdQeW9ZXYg6+VnD6cb5CU10/xV5hCtxt5K+j0qb7as=";
}
{
publisher = "theqtcompany";
name = "qt-core";
version = "1.16.0";
hash = "sha256-6NBWsK7ljx7Ie3xvOrjBClyvwQP1UltCna1jQHJST5U=";
}
{
publisher = "theqtcompany";
name = "qt-qml";
version = "1.16.0";
hash = "sha256-QWjUSbBtHIdxYZyRBDn64HXhvSwhgzm7DjDaed6lNds=";
}
];
})
];
@ -104,9 +116,11 @@
"indentRainbow.ignoreErrorLanguages" = [ "*" ];
"dart.runPubGetOnPubspecChanges" = "never";
"workbench.colorTheme" = "Nord";
"qt-qml.qmlls.customExePath" = "${pkgs.qt6.qtdeclarative}/bin/qmlls";
"qt-qml.doNotAskForQmllsDownload" = true;
};
"/home/quadradical/.config/VSCodium/User/keybindings.json".source = builtins.toJSON [
"VSCodium/User/keybindings.json".text = builtins.toJSON [
{
key = "ctrl+s";
command = "workbench.action.files.saveAll";

View file

@ -1,6 +0,0 @@
{ pkgs, lib, ... }:
{
# Keeps clipboard contents available after the app they were copied from exits
programs.fht-compositor.sessionPrograms.wl-clip-persist =
"${lib.getExe pkgs.wl-clip-persist} --clipboard regular";
}

View file

@ -63,6 +63,8 @@ in
"org.freedesktop.impl.portal.ScreenCast" = [ "fht-compositor" ];
};
quad.session = lib.getExe' cfg.package "fht-compositor-session";
environment = {
# Called by name (rather than by store path), so Super+Ctrl+R after a rebuild runs the new version
systemPackages = [ session-programs ];
@ -77,6 +79,7 @@ in
patches = (old.patches or [ ]) ++ [
./resize-tiled-windows.patch
./lone-modifier.patch
./session-lock-fail-closed.patch
];
nativeBuildInputs = (old.nativeBuildInputs or [ ]) ++ [ pkgs.makeWrapper ];
@ -110,6 +113,10 @@ in
Super-q = "close-focused-window";
Super-f = "fullscreen-focused-window";
Super-Ctrl-q = "quit";
Super-l = {
action = "run-command";
arg = "${config.quad.lock}";
};
Super-Ctrl-r = {
action = "run-command";
arg = "fht-compositor ipc action reload-config; session-programs";

Some files were not shown because too many files have changed in this diff Show more