Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
80df3ea
feat: drop Sway and switch to Niri
Frontear Sep 21, 2025
d996353
feat: drop Zed
Frontear Sep 21, 2025
ead7a36
feat: clean up modules
Frontear Sep 21, 2025
4ca1dfb
feat: improve Niri desktop environment
Frontear Sep 21, 2025
ba2983f
feat: drop the `fs` derivation, write configs in Nix, new programs
Frontear Sep 21, 2025
1f26a37
feat: setup automatic screen locking for multiple hardware events
Frontear Sep 21, 2025
a04108b
feat: fix benchmark workflow not triggering on PR to master
Frontear Sep 21, 2025
3df9568
feat: persist gnome-keyring secrets
Frontear Sep 21, 2025
89f12a7
feat: make some windows maximized by default
Frontear Sep 21, 2025
a44c0a2
feat: fix `yubioath-flutter` failing to load
Frontear Sep 23, 2025
5477364
feat: make `wl-clip-persist` die immediately instead of forever waiting
Frontear Sep 24, 2025
7e1bb72
feat: default `zramSwap.enable = true`, use GNOME for ISO
Frontear Sep 26, 2025
8e0a250
feat: wrap `element-desktop` to fix secrets service detection
Frontear Sep 26, 2025
0e5d163
feat: drop Niri scaling to 1.25
Frontear Sep 27, 2025
f5778dd
feat: add `pkgs.man-pages` and `pkgs.linux-manual` to system
Frontear Sep 28, 2025
c2ec200
feat: write an `app2unit` wrapper to fix certain applications
Frontear Sep 28, 2025
2837f33
feat: add `pkgs.vista-fonts` to the libreoffice module
Frontear Sep 29, 2025
71a06ef
feat: very lightly improve nixos-clean
Frontear Sep 29, 2025
d9e1444
feat: update `flake.lock`
Frontear Sep 29, 2025
e4dd8bd
feat: cleanup some modules
Frontear Sep 29, 2025
7c9c551
feat: bring legcord to GNOME
Frontear Sep 30, 2025
d194a5a
feat: the beginnings of a more organized modules directory
Frontear Oct 2, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .github/workflows/benchmark-eval.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@ name: Benchmark Evaluation Speed

on:
workflow_dispatch:
push:
branches:
- master
pull_request:
types:
- closed

jobs:
benchmark:
if: github.event.pull_request.merged == true

name: Benchmark NixOS Configuration
runs-on: ubuntu-latest
steps:
Expand Down
54 changes: 27 additions & 27 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 2 additions & 10 deletions hosts/iso/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,14 @@
];

config = {
networking.networkmanager.enable = true;
my.desktops.gnome.enable = true;

services.desktopManager.plasma6.enable = true;
services.displayManager.defaultSession = "plasmax11";

services.displayManager = {
autoLogin.enable = true;
sddm.enable = true;
};
services.displayManager.autoLogin.enable = true;

console.keyMap = "us";
i18n.defaultLocale = "en_CA.UTF-8";
time.timeZone = "America/Toronto";

zramSwap.enable = true;

nixpkgs.config.allowUnfree = true;
};
}
4 changes: 2 additions & 2 deletions hosts/laptop/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@


my.desktops = {
sway.enable = lib.mkForce false;
niri.enable = lib.mkForce false;
gnome.enable = true;
};
};
Expand All @@ -23,7 +23,7 @@
boot.kernelPackages = pkgs.linuxPackages_xanmod_latest;

# Enable a desktop environment
my.desktops.sway.enable = true;
my.desktops.niri.enable = true;

# Set locale, keymap and timezone
console.keyMap = "us";
Expand Down
2 changes: 0 additions & 2 deletions hosts/laptop/hardware/mounts.nix
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,5 @@

interval = "weekly";
};

zramSwap.enable = true;
};
}
19 changes: 0 additions & 19 deletions modules/home-manager/desktops/sway/config.nix

This file was deleted.

18 changes: 0 additions & 18 deletions modules/home-manager/desktops/sway/options.nix

This file was deleted.

24 changes: 24 additions & 0 deletions modules/home-manager/fonts/fontconfig/module.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
config,
lib,
pkgs,
...
}:
let
cfg = config.fonts.fontconfig;
in {
# TODO: eventually I want to move this to some environment flag, such as
# `config.environment.isTerminal`, `config.environment.isGraphical`, and
# have these environment flags controlled by their respective programs.
#
# For example, using `programs.eza.enable` should enable the `isTerminal`
# flag, and therefore bring in all terminal styling configurations.
#
# The naming here is very much pending, but I prefer this instead of
# activating it here.
config = lib.mkIf cfg.enable {
home.packages = with pkgs; [
nerd-fonts.symbols-only
];
};
}
14 changes: 14 additions & 0 deletions modules/home-manager/my/programs/app2unit/config.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
config,
lib,
...
}:
let
cfg = config.my.programs.app2unit;
in {
config = lib.mkIf cfg.enable {
home.packages = [
cfg.package
];
};
}
21 changes: 21 additions & 0 deletions modules/home-manager/my/programs/app2unit/options.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
lib,
pkgs,
...
}:
{
options = {
my.programs.app2unit = {
enable = lib.mkEnableOption "app2unit";

package = lib.mkOption {
default = pkgs.app2unit;
apply = app2unit: pkgs.callPackage ./package {
inherit app2unit;
};

type = with lib.types; package;
};
};
};
}
21 changes: 21 additions & 0 deletions modules/home-manager/my/programs/app2unit/package/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
callPackage,
buildEnv,

app2unit,
}:
let
wrapper = callPackage ./package.nix {
inherit app2unit;
};
in buildEnv {
inherit (app2unit) name version;

paths = [
wrapper
app2unit
];

ignoreCollisions = true;
meta.mainProgram = "app2unit";
}
38 changes: 38 additions & 0 deletions modules/home-manager/my/programs/app2unit/package/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
lib,
stdenvNoCC,

app2unit,
}:
stdenvNoCC.mkDerivation {
pname = "app2unit-wrapper";
version = "0.1.0";

src = with lib.fileset; toSource {
root = ./.;
fileset = unions [
./src
];
};

env = {
app2unit = lib.getExe app2unit;
};

installPhase = ''
install -Dm755 src/app2unit.sh $out/bin/app2unit

substituteInPlace $out/bin/app2unit \
--subst-var app2unit
'';

meta = with lib; {
description = "Launch applications through app2unit with specific fixes";

license = licenses.agpl3Plus;
maintainers = with maintainers; [ frontear ];
platforms = platforms.linux;

mainProgram = "app2unit";
};
}
Loading