clean up 'scope' decl

This commit is contained in:
atagen 2026-02-25 21:30:31 +11:00
parent 453d780695
commit cb72b47661
28 changed files with 261 additions and 195 deletions

View file

@ -1 +1 @@
{ inputs, scope, ... }: scope "imports" <| [ inputs.qstn.nixosModules.default ]
{ inputs, ... }: scope "imports" <| [ inputs.qstn.nixosModules.default ]

View file

@ -1,6 +1,5 @@
{
config,
scope,
...
}:
with config.rice.palette.hex;

View file

@ -1,5 +1,4 @@
{
scope,
...
}:
scope "user.programs.helix" {

View file

@ -1,7 +1,6 @@
{
inputs,
lib,
scope,
...
}:
scope "nixpkgs" {

View file

@ -1,5 +1,4 @@
{
scope,
...
}:
scope "nix.settings" {

View file

@ -1,19 +1,15 @@
{
pkgs,
inputs,
getPkgs,
getFlakePkg,
...
}:
{
environment.systemPackages =
getPkgs {
inherit (pkgs)
nixfmt
nil
;
}
++ [ (getFlakePkg inputs.yoke) ];
environment.systemPackages = [
pkgs.nixfmt
(getFlakePkg inputs.yoke)
(getFlakePkg inputs.nil)
];
imports = [
inputs.nix-index-database.nixosModules.nix-index
];

View file

@ -1,4 +1,4 @@
{ scope, ... }:
{ ... }:
scope "systemd" {
services."user@".serviceConfig.Delegate = "memory pids cpu cpuset";
user.extraConfig = "LogLevel=debug";