Run statix fix
This commit is contained in:
parent
e04d0829c2
commit
63c3e235f6
9 changed files with 10 additions and 10 deletions
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
flake-utils.url = "github:numtide/flake-utils";
|
flake-utils.url = "github:numtide/flake-utils";
|
||||||
|
|
||||||
nixos-hardware.url = github:NixOS/nixos-hardware;
|
nixos-hardware.url = "github:NixOS/nixos-hardware";
|
||||||
|
|
||||||
nixos-generators = {
|
nixos-generators = {
|
||||||
url = "github:nix-community/nixos-generators";
|
url = "github:nix-community/nixos-generators";
|
||||||
|
|
|
@ -41,7 +41,7 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf (cfg.enable) {
|
config = mkIf cfg.enable {
|
||||||
home.packages = [ pkgs.rclone ];
|
home.packages = [ pkgs.rclone ];
|
||||||
|
|
||||||
systemd.user.services = builtins.listToAttrs (builtins.map
|
systemd.user.services = builtins.listToAttrs (builtins.map
|
||||||
|
@ -56,7 +56,7 @@ in
|
||||||
Unit = {
|
Unit = {
|
||||||
Description = "rclone mount ${unitName}";
|
Description = "rclone mount ${unitName}";
|
||||||
After = [ "network.target" ];
|
After = [ "network.target" ];
|
||||||
AssertPathIsDirectory = (toString mount.local);
|
AssertPathIsDirectory = toString mount.local;
|
||||||
};
|
};
|
||||||
|
|
||||||
Service = {
|
Service = {
|
||||||
|
|
|
@ -189,7 +189,7 @@ in
|
||||||
"${mod}+l" = "exec ${swaylockcmd}";
|
"${mod}+l" = "exec ${swaylockcmd}";
|
||||||
"${mod}+p" = "mode resize";
|
"${mod}+p" = "mode resize";
|
||||||
|
|
||||||
"${mod}+c" = mkIf (config.eboskma.programs.emacs.enable) "exec ${config.eboskma.programs.emacs.package}/bin/emacsclient -c";
|
"${mod}+c" = mkIf config.eboskma.programs.emacs.enable "exec ${config.eboskma.programs.emacs.package}/bin/emacsclient -c";
|
||||||
|
|
||||||
"${mod}+Print" = "exec ${pkgs.grim}/bin/grim -o $(${pkgs.sway}/bin/swaymsg -t get_outputs | ${pkgs.jq}/bin/jq -r '.[] | select(.focused) | .name')";
|
"${mod}+Print" = "exec ${pkgs.grim}/bin/grim -o $(${pkgs.sway}/bin/swaymsg -t get_outputs | ${pkgs.jq}/bin/jq -r '.[] | select(.focused) | .name')";
|
||||||
"${mod}+Shift+Print" = "exec ${pkgs.grim}/bin/grim -o $(${pkgs.sway}/bin/swaymsg -t get_outputs | ${pkgs.jq}/bin/jq -r '.[] | select(.focused) | .name') - | ${pkgs.wl-clipboard}/bin/wl-copy -t \"image/png\" -f";
|
"${mod}+Shift+Print" = "exec ${pkgs.grim}/bin/grim -o $(${pkgs.sway}/bin/swaymsg -t get_outputs | ${pkgs.jq}/bin/jq -r '.[] | select(.focused) | .name') - | ${pkgs.wl-clipboard}/bin/wl-copy -t \"image/png\" -f";
|
||||||
|
|
|
@ -6,7 +6,7 @@ in
|
||||||
{
|
{
|
||||||
options.eboskma.libvirtd = { enable = mkEnableOption "libvirtd"; };
|
options.eboskma.libvirtd = { enable = mkEnableOption "libvirtd"; };
|
||||||
|
|
||||||
config = mkIf (cfg.enable) {
|
config = mkIf cfg.enable {
|
||||||
virtualisation.libvirtd = {
|
virtualisation.libvirtd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
allowedBridges = [ "br0" ];
|
allowedBridges = [ "br0" ];
|
||||||
|
|
|
@ -6,7 +6,7 @@ in
|
||||||
{
|
{
|
||||||
options.eboskma.nix-serve = { enable = mkEnableOption "nix-serve"; };
|
options.eboskma.nix-serve = { enable = mkEnableOption "nix-serve"; };
|
||||||
|
|
||||||
config = mkIf (cfg.enable) {
|
config = mkIf cfg.enable {
|
||||||
services.nix-serve = {
|
services.nix-serve = {
|
||||||
enable = true;
|
enable = true;
|
||||||
secretKeyFile = "/var/cache-priv-key.pem";
|
secretKeyFile = "/var/cache-priv-key.pem";
|
||||||
|
|
|
@ -6,7 +6,7 @@ in
|
||||||
{
|
{
|
||||||
options.eboskma.tablet = { enable = mkEnableOption "tablet"; };
|
options.eboskma.tablet = { enable = mkEnableOption "tablet"; };
|
||||||
|
|
||||||
config = mkIf (cfg.enable) {
|
config = mkIf cfg.enable {
|
||||||
hardware.opentabletdriver = {
|
hardware.opentabletdriver = {
|
||||||
enable = true;
|
enable = true;
|
||||||
daemon.enable = true;
|
daemon.enable = true;
|
||||||
|
|
|
@ -67,7 +67,7 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf (cfg.enable) {
|
config = mkIf cfg.enable {
|
||||||
networking = {
|
networking = {
|
||||||
nat = {
|
nat = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -8,7 +8,7 @@ in
|
||||||
{
|
{
|
||||||
options.eboskma.users.builder = { enable = mkEnableOption "builder"; };
|
options.eboskma.users.builder = { enable = mkEnableOption "builder"; };
|
||||||
|
|
||||||
config = mkIf (cfg.enable) {
|
config = mkIf cfg.enable {
|
||||||
users.users.builder = {
|
users.users.builder = {
|
||||||
isSystemUser = true;
|
isSystemUser = true;
|
||||||
group = "builder";
|
group = "builder";
|
||||||
|
|
|
@ -8,7 +8,7 @@ in
|
||||||
|
|
||||||
imports = [ ./desktop.nix ];
|
imports = [ ./desktop.nix ];
|
||||||
|
|
||||||
config = mkIf (cfg.enable) {
|
config = mkIf cfg.enable {
|
||||||
|
|
||||||
users.users.erwin = {
|
users.users.erwin = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
|
|
Loading…
Reference in a new issue