1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 19:46:05 +01:00

tests: remove with lib (#6511)

This commit is contained in:
Austin Horstman 2025-02-21 21:20:07 -08:00 committed by GitHub
parent e495cd8c80
commit 439a125afe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
100 changed files with 77 additions and 398 deletions

View file

@ -1,5 +1,3 @@
{ ... }:
{
editorconfig = {
enable = true;

View file

@ -1,8 +1,4 @@
{ config, lib, pkgs, ... }:
with lib;
{
{ pkgs, ... }: {
config = {
home.packages = [ pkgs.comic-relief pkgs.unifont ];

View file

@ -1,5 +1,3 @@
{ ... }:
{
nix = {
registry = {

View file

@ -1,8 +1,4 @@
{ config, lib, ... }:
with lib;
{
{ config, ... }: {
config = {
pam.sessionVariables = {
V1 = "v1";

View file

@ -1,7 +1,3 @@
{ config, lib, pkgs, ... }:
with lib;
{
home.file.testfile.text = "not special";
specialisation.test.configuration = {

View file

@ -1,8 +1,4 @@
{ config, lib, pkgs, ... }:
with lib;
{
{ config, lib, ... }: {
config = {
# Test fallback behavior for stateVersion >= 20.09, which is pure.
xdg.enable = lib.mkForce false;

View file

@ -1,8 +1,4 @@
{ config, lib, pkgs, ... }:
with lib;
{
{ pkgs, ... }: {
config = {
xdg.desktopEntries = {
full = { # full definition

View file

@ -1,8 +1,4 @@
{ config, lib, pkgs, ... }:
with lib;
{
{ config, ... }: {
config = {
xdg.configHome = /. + "${config.home.homeDirectory}/.dummy-config";
xdg.dataHome = /. + "${config.home.homeDirectory}/.dummy-data";

View file

@ -1,7 +1,3 @@
{ config, lib, pkgs, ... }:
with lib;
{
config = {
xdg.mimeApps = {

View file

@ -1,4 +1,4 @@
{ ... }: {
{
config = {
xdg.mime.enable = false;
nmt.script = ''

View file

@ -1,7 +1,3 @@
{ config, lib, pkgs, ... }:
with lib;
{
config = {
xsession = {

View file

@ -1,7 +1,3 @@
{ config, lib, pkgs, ... }:
with lib;
{
config = {
home.stateVersion = "19.09";