Compare commits
3
Commits
4bd6d33b3d
...
fdabea8247
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fdabea8247
|
||
|
|
9a493b48b9
|
||
|
|
ec05b9d104
|
+3
-5
@@ -13,7 +13,7 @@ let
|
|||||||
nixpkgs = lib.mkMerge [
|
nixpkgs = lib.mkMerge [
|
||||||
pkgsParams
|
pkgsParams
|
||||||
{
|
{
|
||||||
overlays = (import ./overlays args);
|
overlays = import ./overlays args;
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
@@ -57,13 +57,11 @@ in
|
|||||||
|
|
||||||
modules = lib.mkOption {
|
modules = lib.mkOption {
|
||||||
type = lib.types.listOf lib.types.deferredModule;
|
type = lib.types.listOf lib.types.deferredModule;
|
||||||
default = (
|
default = lib.umport {
|
||||||
lib.umport {
|
|
||||||
paths = [ ../hosts/${name} ];
|
paths = [ ../hosts/${name} ];
|
||||||
extraExcludePredicate = path: lib.hasInfix "/_" (toString path);
|
extraExcludePredicate = path: lib.hasInfix "/_" (toString path);
|
||||||
recursive = true;
|
recursive = true;
|
||||||
}
|
};
|
||||||
);
|
|
||||||
description = "Additional NixOS modules specific to this host";
|
description = "Additional NixOS modules specific to this host";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -6,15 +6,14 @@
|
|||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
nixpkgs.config.permittedInsecurePackages = (
|
nixpkgs.config.permittedInsecurePackages =
|
||||||
lib.warn
|
lib.warn
|
||||||
''
|
''
|
||||||
mautrix-telegram still using olm-3.2.16
|
mautrix-telegram still using olm-3.2.16
|
||||||
''
|
''
|
||||||
[
|
[
|
||||||
"olm-3.2.16"
|
"olm-3.2.16"
|
||||||
]
|
];
|
||||||
);
|
|
||||||
sops.secrets.tuwunel-reg-token = {
|
sops.secrets.tuwunel-reg-token = {
|
||||||
sopsFile = secrets.tuwunel-reg-token;
|
sopsFile = secrets.tuwunel-reg-token;
|
||||||
restartUnits = [ "tuwunel.service" ];
|
restartUnits = [ "tuwunel.service" ];
|
||||||
|
|||||||
+3
-3
@@ -19,8 +19,8 @@ let
|
|||||||
with lib;
|
with lib;
|
||||||
with fileset;
|
with fileset;
|
||||||
let
|
let
|
||||||
excludedFiles = filter (path: pathIsRegularFile path) exclude;
|
excludedFiles = filter pathIsRegularFile exclude;
|
||||||
excludedDirs = filter (path: pathIsDirectory path) exclude;
|
excludedDirs = filter pathIsDirectory exclude;
|
||||||
isExcluded =
|
isExcluded =
|
||||||
path:
|
path:
|
||||||
(elem path excludedFiles)
|
(elem path excludedFiles)
|
||||||
@@ -39,7 +39,7 @@ let
|
|||||||
) (builtins.readDir path)
|
) (builtins.readDir path)
|
||||||
) (unique (if path == null then paths else [ path ] ++ paths))
|
) (unique (if path == null then paths else [ path ] ++ paths))
|
||||||
))
|
))
|
||||||
++ (if recursive then concatMap (path: toList path) (unique include) else unique include)
|
++ (if recursive then concatMap toList (unique include) else unique include)
|
||||||
);
|
);
|
||||||
in
|
in
|
||||||
umport
|
umport
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
lib,
|
lib,
|
||||||
config,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
username,
|
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
@@ -51,12 +50,12 @@ in
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
gtk.gtk3.bookmarks = [
|
gtk.gtk3.bookmarks = [
|
||||||
"file://${homedir}/Documents 文档"
|
"file://${homedir}/Documents Documents"
|
||||||
"file://${homedir}/Downloads 下载"
|
"file://${homedir}/Downloads Downloads"
|
||||||
"file://${homedir}/Pictures 图片"
|
"file://${homedir}/Pictures Pictures"
|
||||||
"file://${homedir}/Videos 视频"
|
"file://${homedir}/Videos Videos"
|
||||||
"file://${homedir}/Music 音乐"
|
"file://${homedir}/Music Music"
|
||||||
"file://${homedir}/workspace 工作空间"
|
"file://${homedir}/workspace Workspace"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
Name=Light
|
Name=Light
|
||||||
Version=1
|
Version=1
|
||||||
Author=Fcitx
|
Author=Fcitx
|
||||||
Description="从 Plasma 主题 lightly 生成的主题"
|
Description="Generated from Lightly Plasma Theme"
|
||||||
|
|
||||||
[InputPanel]
|
[InputPanel]
|
||||||
NormalColor=#282a2f
|
NormalColor=#282a2f
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user