Skip to content

Commit

Permalink
chore: fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
sioodmy committed May 19, 2024
1 parent 76498dc commit 86bebd0
Show file tree
Hide file tree
Showing 10 changed files with 28 additions and 28 deletions.
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
nixos-hardware.url = "github:nixos/nixos-hardware";
impermanence.url = "github:nix-community/impermanence";

niri= {
niri = {
url = "github:sodiboo/niri-flake";
inputs.nixpkgs.follows = "nixpkgs";
};
Expand Down
5 changes: 1 addition & 4 deletions home/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
{
inputs,
...
}:
{inputs, ...}:
# glue all configs together
{
config.home.stateVersion = "22.05";
Expand Down
2 changes: 1 addition & 1 deletion home/rice/fuzzel/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
pkgs,
theme,
...
}:let
}: let
emoji = pkgs.writeShellScriptBin "emoji" ''
#!/bin/sh
cat ${./emojis} | fuzzel -p"Emoji: " -d | awk '{print $1}' | tr -d '\n' | tee >(wl-copy) >(xargs -I % notify-send "% Emoji" "Emoji copied to clipboard")
Expand Down
22 changes: 13 additions & 9 deletions home/rice/niri/config.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,14 @@
}:
with theme.colors; {
programs.niri.settings = {
spawn-at-startup = [{
command = [
"run-as-service"
"waybar"
];
}];
spawn-at-startup = [
{
command = [
"run-as-service"
"waybar"
];
}
];
outputs."eDP-1".position = {
x = 0;
y = 0;
Expand Down Expand Up @@ -89,13 +91,15 @@ with theme.colors; {

window-rules = [
{
geometry-corner-radius = let radius =8.0; in{
geometry-corner-radius = let
radius = 8.0;
in {
bottom-left = radius;
bottom-right = radius;
top-left = radius;
top-right = radius;
};
clip-to-geometry= true;
};
clip-to-geometry = true;
}
];

Expand Down
2 changes: 1 addition & 1 deletion home/rice/niri/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
Install.WantedBy = ["graphical-session.target"];
};
in {
imports = [./config.nix];
imports = [./config.nix];
home.packages = with pkgs; [pamixer];
services = {
wlsunset = {
Expand Down
3 changes: 2 additions & 1 deletion home/rice/waybar/style.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
theme: with theme.colors; ''
theme:
with theme.colors; ''
* {
font-family: Material Design Icons, Iosevka Nerd Font;
padding: 0;
Expand Down
3 changes: 1 addition & 2 deletions secrets/secrets.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
let

calypso-user = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIH+S9LPxp3Mmha1keHlwc0iVq4CMbHvzAAwuYE2go7io sioodmy@calypso";

calypso-host = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPhD+J2Iivt9mTVV2I79iGlqN+YQFb4PPkqle0brUKy4 root@calypso";
Expand All @@ -10,7 +9,7 @@ let

calypso = [calypso-user calypso-host];

prometheus = [ calypso-user prometheus-host];
prometheus = [calypso-user prometheus-host];
iapetus = [calypso-user iapetus-host];
in {
age.identityPaths = "/persist/home/sioodmy/.ssh/id_ed25519";
Expand Down
8 changes: 4 additions & 4 deletions system/core/schizo.nix
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@
};
pam = {
services.gtklock.text = ''
auth sufficient pam_unix.so try_first_pass likeauth nullok
auth sufficient pam_fprintd.so
auth include login
'';
auth sufficient pam_unix.so try_first_pass likeauth nullok
auth sufficient pam_fprintd.so
auth include login
'';
loginLimits = [
{
domain = "@wheel";
Expand Down
6 changes: 3 additions & 3 deletions system/server/mail.nix
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ in {
};
};
};

services.radicale = {
enable = true;
settings = {
Expand All @@ -53,8 +53,8 @@ in {
};
};
};
networking.firewall.allowedTCPPorts = [ 5232];
services.nginx = {
networking.firewall.allowedTCPPorts = [5232];
services.nginx = {
virtualHosts = {
"cal.sioodmy.dev" = {
forceSSL = true;
Expand Down
3 changes: 1 addition & 2 deletions system/wayland/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
pkgs,
inputs,
...
}:
{
}: {
imports = [./fonts.nix ./services.nix ./pipewire.nix inputs.niri.nixosModules.niri];
environment = {
variables = {
Expand Down

0 comments on commit 86bebd0

Please sign in to comment.