Skip to content

Commit 0434e0d

Browse files
committed
reformat repo with nixfmt 1.0
1 parent 003a82b commit 0434e0d

6 files changed

Lines changed: 57 additions & 48 deletions

File tree

config/home-manager/default.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
{
88
imports = [
99
inputs.agenix.homeManagerModules.default
10-
] ++ import ./module-list.nix;
10+
]
11+
++ import ./module-list.nix;
1112

1213
options.uwumarie.profiles = {
1314
eza = lib.mkEnableOption (lib.mdDoc "eza config");

config/nixos/applications/fail2ban.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
ignoreIP = [
88
"10.69.0.0/24"
99
"127.0.0.1/8"
10-
] ++ lib.optional config.services.tailscale.enable "100.64.0.0/10";
10+
]
11+
++ lib.optional config.services.tailscale.enable "100.64.0.0/10";
1112
bantime-increment = {
1213
enable = true;
1314
maxtime = "48h";

config/nixos/users/marie.nix

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,13 @@
88
lib.mkIf config.uwumarie.profiles.users.marie {
99
users.users.marie = {
1010
isNormalUser = true;
11-
extraGroups =
12-
[ "wheel" ]
13-
++ lib.optional config.programs.gamemode.enable "gamemode"
14-
++ lib.optional config.virtualisation.libvirtd.enable "libvirtd"
15-
++ lib.optional config.services.pipewire.enable "pipewire"
16-
++ lib.optional config.programs.adb.enable "adbusers";
11+
extraGroups = [
12+
"wheel"
13+
]
14+
++ lib.optional config.programs.gamemode.enable "gamemode"
15+
++ lib.optional config.virtualisation.libvirtd.enable "libvirtd"
16+
++ lib.optional config.services.pipewire.enable "pipewire"
17+
++ lib.optional config.programs.adb.enable "adbusers";
1718
openssh.authorizedKeys.keys = lib.mkIf config.services.openssh.enable [
1819
# Desktop old
1920
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFiS+tzh0R/nN5nqSwvLerCV4nBwI51zOKahFfiiINGp"

hosts/marie-nas/services/dyndns.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{
1+
{
22
config,
33
...
44
}:

modules/nixos/cloudflare-dyndns/cloudflare-dyndns.nix

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,12 @@
66
}:
77
let
88
cfg = config.uwumarie.cloudflare-dyndns;
9-
python = pkgs.python3.withPackages (ps: with ps; [ netifaces cloudflare ]);
9+
python = pkgs.python3.withPackages (
10+
ps: with ps; [
11+
netifaces
12+
cloudflare
13+
]
14+
);
1015
in
1116
{
1217
options.uwumarie.cloudflare-dyndns = {

pkgs/plasma-aero-theme/package.nix

Lines changed: 39 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,14 @@ let
4444
inherit version src;
4545

4646
sourceRoot = "${finalAttrs.src.name}/plasma/plasmoids/src/sevenstart_src";
47-
nativeBuildInputs =
48-
[
49-
cmake
50-
pkg-config
51-
]
52-
++ (with kdePackages; [
53-
extra-cmake-modules
54-
wrapQtAppsHook
55-
]);
47+
nativeBuildInputs = [
48+
cmake
49+
pkg-config
50+
]
51+
++ (with kdePackages; [
52+
extra-cmake-modules
53+
wrapQtAppsHook
54+
]);
5655

5756
postPatch = ''
5857
substituteInPlace "src/CMakeLists.txt" \
@@ -79,12 +78,13 @@ let
7978

8079
sourceRoot = "${finalAttrs.src.name}/kwin/effects_cpp/kde-effects-aeroglassblur";
8180

82-
nativeBuildInputs =
83-
[ cmake ]
84-
++ (with kdePackages; [
85-
extra-cmake-modules
86-
wrapQtAppsHook
87-
]);
81+
nativeBuildInputs = [
82+
cmake
83+
]
84+
++ (with kdePackages; [
85+
extra-cmake-modules
86+
wrapQtAppsHook
87+
]);
8888
buildInputs = with kdePackages; [
8989
kwin
9090
qttools
@@ -96,12 +96,13 @@ let
9696

9797
sourceRoot = "${finalAttrs.src.name}/kwin/effects_cpp/kwin-effect-smodsnap-v2";
9898

99-
nativeBuildInputs =
100-
[ cmake ]
101-
++ (with kdePackages; [
102-
extra-cmake-modules
103-
wrapQtAppsHook
104-
]);
99+
nativeBuildInputs = [
100+
cmake
101+
]
102+
++ (with kdePackages; [
103+
extra-cmake-modules
104+
wrapQtAppsHook
105+
]);
105106
buildInputs = with kdePackages; [
106107
qtbase
107108
kconfigwidgets
@@ -117,23 +118,23 @@ let
117118
inherit src version;
118119

119120
sourceRoot = "${finalAttrs.src.name}/kwin/effects_cpp/smodglow";
120-
nativeBuildInputs =
121-
[
122-
cmake
123-
pkg-config
124-
]
125-
++ (with kdePackages; [
126-
extra-cmake-modules
127-
wrapQtAppsHook
128-
]);
129-
buildInputs =
130-
[ breeze ]
131-
++ (with kdePackages; [
132-
qtbase
133-
kconfigwidgets
134-
kdecoration
135-
kwin
136-
]);
121+
nativeBuildInputs = [
122+
cmake
123+
pkg-config
124+
]
125+
++ (with kdePackages; [
126+
extra-cmake-modules
127+
wrapQtAppsHook
128+
]);
129+
buildInputs = [
130+
breeze
131+
]
132+
++ (with kdePackages; [
133+
qtbase
134+
kconfigwidgets
135+
kdecoration
136+
kwin
137+
]);
137138
cmakeFlags = [
138139
(lib.cmakeBool "BUILD_KF6" true)
139140
];

0 commit comments

Comments
 (0)