format with nixfmt

This commit is contained in:
Artemis Tosini 2024-03-05 01:12:41 +00:00
parent f29debb85f
commit b27a6cbf01
Signed by: artemist
SSH key fingerprint: SHA256:EsuWCwx6fjxxExxf65rX+ocQJJAdw4R1KarpFue6Uwc
3 changed files with 24 additions and 29 deletions

View file

@ -24,20 +24,14 @@ let
F11 = "21"; F11 = "21";
F12 = "22"; F12 = "22";
}; };
extraGotoBindings = extraGotoBindings = lib.mapAttrs' (name: value: {
lib.mapAttrs' name = "${mod}+${name}";
(name: value: { value = "workspace ${value}";
name = "${mod}+${name}"; }) extraWorkspaces;
value = "workspace ${value}"; extraMoveBindings = lib.mapAttrs' (name: value: {
}) name = "${mod}+Shift+${name}";
extraWorkspaces; value = "move container to workspace ${value}";
extraMoveBindings = }) extraWorkspaces;
lib.mapAttrs'
(name: value: {
name = "${mod}+Shift+${name}";
value = "move container to workspace ${value}";
})
extraWorkspaces;
in in
{ {
home.sessionVariables = { home.sessionVariables = {

View file

@ -12,9 +12,9 @@
inputs.private.nixosModules.substituter inputs.private.nixosModules.substituter
]; ];
systemd.tmpfiles.rules = systemd.tmpfiles.rules = lib.mapAttrsToList (
lib.mapAttrsToList (key: value: "L+ /etc/channels/${key} - - - - ${value.outPath}") key: value: "L+ /etc/channels/${key} - - - - ${value.outPath}"
inputs; ) inputs;
nix = { nix = {
nixPath = [ "/etc/channels" ]; nixPath = [ "/etc/channels" ];

View file

@ -90,20 +90,21 @@
services.printing.drivers = [ services.printing.drivers = [
pkgs.cups-dymo pkgs.cups-dymo
(pkgs.brlaser.overrideAttrs ( (pkgs.brlaser.overrideAttrs (old: {
old: { version = "unstable-2023-02-20";
version = "unstable-2023-02-20"; src = pkgs.fetchFromGitHub {
src = pkgs.fetchFromGitHub { owner = "pdewacht";
owner = "pdewacht"; repo = "brlaser";
repo = "brlaser"; rev = "2a49e3287c70c254e7e3ac9dabe9d6a07218c3fa";
rev = "2a49e3287c70c254e7e3ac9dabe9d6a07218c3fa"; sha256 = "sha256-1fvO9F7ifbYQHAy54mOx052XutfKXSK6iT/zj4Mhbww=";
sha256 = "sha256-1fvO9F7ifbYQHAy54mOx052XutfKXSK6iT/zj4Mhbww="; };
}; }))
}
))
]; ];
environment.systemPackages = with pkgs; [ amdgpu_top ryujinx ]; environment.systemPackages = with pkgs; [
amdgpu_top
ryujinx
];
# Home # Home
home-manager.users.artemis = { home-manager.users.artemis = {