mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-25 18:28:41 +02:00
chore: nix fmt
This commit is contained in:
@@ -1,8 +1,4 @@
|
||||
{
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
|
||||
{pkgs, ...}: {
|
||||
home.packages = with pkgs; [
|
||||
# GUI apps
|
||||
# e-book viewer(.epub/.mobi/...)
|
||||
|
||||
@@ -22,7 +22,6 @@
|
||||
"0c544e42afe7836de9ba933d93f46043b12f58ae484ff8cfb02716353f1dba5f" # nix-installer on fern
|
||||
];
|
||||
|
||||
|
||||
environment.etc."shells".knownSha256Hashes = [
|
||||
"9d5aa72f807091b481820d12e693093293ba33c73854909ad7b0fb192c2db193" # nix-installer on fern
|
||||
];
|
||||
|
||||
@@ -2,8 +2,7 @@
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
}: {
|
||||
###################################################################################
|
||||
#
|
||||
# NixOS's core configuration suitable for all my machines
|
||||
|
||||
@@ -14,6 +14,4 @@
|
||||
};
|
||||
openFirewall = true;
|
||||
};
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -1,4 +1,8 @@
|
||||
{username, config, ...}: {
|
||||
{
|
||||
username,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
# Don't allow mutation of users outside the config.
|
||||
users.mutableUsers = false;
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
{ config, ...}:
|
||||
{
|
||||
{config, ...}: {
|
||||
nix.extraOptions = ''
|
||||
!include ${config.age.secrets.nix-access-tokens.path}
|
||||
'';
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
constants,
|
||||
}: let
|
||||
inherit (inputs.nixpkgs) lib;
|
||||
mylib = import ../lib { inherit lib; };
|
||||
mylib = import ../lib {inherit lib;};
|
||||
vars = import ./vars.nix;
|
||||
|
||||
specialArgsForSystem = system:
|
||||
|
||||
Reference in New Issue
Block a user