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";
|
||||
|
||||
nixos-hardware.url = github:NixOS/nixos-hardware;
|
||||
nixos-hardware.url = "github:NixOS/nixos-hardware";
|
||||
|
||||
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 ];
|
||||
|
||||
systemd.user.services = builtins.listToAttrs (builtins.map
|
||||
|
@ -56,7 +56,7 @@ in
|
|||
Unit = {
|
||||
Description = "rclone mount ${unitName}";
|
||||
After = [ "network.target" ];
|
||||
AssertPathIsDirectory = (toString mount.local);
|
||||
AssertPathIsDirectory = toString mount.local;
|
||||
};
|
||||
|
||||
Service = {
|
||||
|
|
|
@ -189,7 +189,7 @@ in
|
|||
"${mod}+l" = "exec ${swaylockcmd}";
|
||||
"${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}+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"; };
|
||||
|
||||
config = mkIf (cfg.enable) {
|
||||
config = mkIf cfg.enable {
|
||||
virtualisation.libvirtd = {
|
||||
enable = true;
|
||||
allowedBridges = [ "br0" ];
|
||||
|
|
|
@ -6,7 +6,7 @@ in
|
|||
{
|
||||
options.eboskma.nix-serve = { enable = mkEnableOption "nix-serve"; };
|
||||
|
||||
config = mkIf (cfg.enable) {
|
||||
config = mkIf cfg.enable {
|
||||
services.nix-serve = {
|
||||
enable = true;
|
||||
secretKeyFile = "/var/cache-priv-key.pem";
|
||||
|
|
|
@ -6,7 +6,7 @@ in
|
|||
{
|
||||
options.eboskma.tablet = { enable = mkEnableOption "tablet"; };
|
||||
|
||||
config = mkIf (cfg.enable) {
|
||||
config = mkIf cfg.enable {
|
||||
hardware.opentabletdriver = {
|
||||
enable = true;
|
||||
daemon.enable = true;
|
||||
|
|
|
@ -67,7 +67,7 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
config = mkIf (cfg.enable) {
|
||||
config = mkIf cfg.enable {
|
||||
networking = {
|
||||
nat = {
|
||||
enable = true;
|
||||
|
|
|
@ -8,7 +8,7 @@ in
|
|||
{
|
||||
options.eboskma.users.builder = { enable = mkEnableOption "builder"; };
|
||||
|
||||
config = mkIf (cfg.enable) {
|
||||
config = mkIf cfg.enable {
|
||||
users.users.builder = {
|
||||
isSystemUser = true;
|
||||
group = "builder";
|
||||
|
|
|
@ -8,7 +8,7 @@ in
|
|||
|
||||
imports = [ ./desktop.nix ];
|
||||
|
||||
config = mkIf (cfg.enable) {
|
||||
config = mkIf cfg.enable {
|
||||
|
||||
users.users.erwin = {
|
||||
isNormalUser = true;
|
||||
|
|
Loading…
Reference in a new issue