Formatting

This commit is contained in:
Thomas Avé 2024-06-13 11:53:29 +02:00
parent d14db5a303
commit 9b4bd8fcc1
17 changed files with 438 additions and 425 deletions

View File

@ -107,5 +107,6 @@
Kell = { user = "user"; }; Kell = { user = "user"; };
Aloria = { user = "user"; }; Aloria = { user = "user"; };
}; };
in { nixosConfigurations = nixpkgs.lib.mapAttrs mkSystem systems; }; in
{ nixosConfigurations = nixpkgs.lib.mapAttrs mkSystem systems; };
} }

View File

@ -49,7 +49,8 @@ let
''); '');
}; };
}; };
in { in
{
home.username = "server"; home.username = "server";
home.homeDirectory = "/home/server"; home.homeDirectory = "/home/server";
nix = { nix = {

View File

@ -47,7 +47,8 @@ let
''); '');
}; };
}; };
in { in
{
home.username = "server"; home.username = "server";
home.homeDirectory = "/home/server"; home.homeDirectory = "/home/server";
nix = { nix = {

View File

@ -4,7 +4,8 @@ let
Value = false; Value = false;
Status = "locked"; Status = "locked";
}; };
in { in
{
programs.firefox = { programs.firefox = {
enable = true; enable = true;
package = pkgs.wrapFirefox pkgs.firefox-unwrapped { package = pkgs.wrapFirefox pkgs.firefox-unwrapped {

View File

@ -61,7 +61,8 @@ let
fi fi
fi fi
''; '';
in { in
{
services.kdeconnect = { services.kdeconnect = {
enable = true; enable = true;
package = pkgs.kdePackages.kdeconnect-kde; package = pkgs.kdePackages.kdeconnect-kde;
@ -266,10 +267,12 @@ in {
] ++ ( ] ++ (
# workspaces # workspaces
# binds $mod + [shift +] {1..10} to [move to] workspace {1..10} # binds $mod + [shift +] {1..10} to [move to] workspace {1..10}
builtins.concatLists (builtins.genList (x: builtins.concatLists (builtins.genList
(x:
let let
ws = let c = (x + 1) / 10; in builtins.toString (x + 1 - (c * 10)); ws = let c = (x + 1) / 10; in builtins.toString (x + 1 - (c * 10));
in [ in
[
"$mainMod, ${ws}, ${workspace_command_prefix}workspace, ${toString (x + 1)}" "$mainMod, ${ws}, ${workspace_command_prefix}workspace, ${toString (x + 1)}"
"$mainMod SHIFT, ${ws}, ${workspace_command_prefix}movetoworkspace, ${toString (x + 1)}" "$mainMod SHIFT, ${ws}, ${workspace_command_prefix}movetoworkspace, ${toString (x + 1)}"
]) 10)); ]) 10));

View File

@ -12,7 +12,8 @@
kb-cancel = "Super_L+XF86Launch5,Escape"; kb-cancel = "Super_L+XF86Launch5,Escape";
combi-hide-mode-prefix = true; combi-hide-mode-prefix = true;
}; };
theme = let inherit (config.lib.formats.rasi) mkLiteral; theme =
let inherit (config.lib.formats.rasi) mkLiteral;
in { in {
"*" = { "*" = {
background = mkLiteral "#0f111a"; background = mkLiteral "#0f111a";

View File

@ -13,7 +13,8 @@ let
}; };
}; };
in { in
{
programs.tmux = { programs.tmux = {
shell = "${pkgs.zsh}/bin/zsh"; shell = "${pkgs.zsh}/bin/zsh";
terminal = "screen-256color"; terminal = "screen-256color";

View File

@ -1,6 +1,7 @@
{ pkgs, scripts }: { pkgs, scripts }:
let let
notify_script = (pkgs.writers.writePython3Bin "telegram-notify.py" { notify_script = (pkgs.writers.writePython3Bin "telegram-notify.py"
{
libraries = [ pkgs.python3Packages.python-telegram-bot ]; libraries = [ pkgs.python3Packages.python-telegram-bot ];
} '' } ''
import telegram import telegram

View File

@ -5,7 +5,8 @@
{ {
imports = imports =
[ (modulesPath + "/installer/scan/not-detected.nix") [
(modulesPath + "/installer/scan/not-detected.nix")
]; ];
boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "usbhid" "usb_storage" "sd_mod" ]; boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "usbhid" "usb_storage" "sd_mod" ];
@ -14,12 +15,14 @@
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
fileSystems."/" = fileSystems."/" =
{ device = "/dev/disk/by-uuid/e34f26e4-2f68-4f9c-ab7d-836b4f4b9f74"; {
device = "/dev/disk/by-uuid/e34f26e4-2f68-4f9c-ab7d-836b4f4b9f74";
fsType = "ext4"; fsType = "ext4";
}; };
fileSystems."/boot" = fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/90D9-F457"; {
device = "/dev/disk/by-uuid/90D9-F457";
fsType = "vfat"; fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ]; options = [ "fmask=0077" "dmask=0077" ];
}; };