diff options
author | tzlil <tzlils@protonmail.com> | 2023-03-12 16:29:17 +0200 |
---|---|---|
committer | tzlil <tzlils@protonmail.com> | 2023-03-12 16:29:17 +0200 |
commit | 39eb0b807403c7745c2edc6024e0e713155662bc (patch) | |
tree | 7aca56baa092ecf5f58b6c2e4d597d613cca196b /mixins | |
parent | f266d1b0d7c2f9c5c285af539fefe8d5ac96c479 (diff) |
bunch of stuff
Diffstat (limited to 'mixins')
-rw-r--r-- | mixins/emacs/default.nix | 50 | ||||
-rw-r--r-- | mixins/hyprland.nix | 27 | ||||
-rw-r--r-- | mixins/tailscale.nix | 8 |
3 files changed, 51 insertions, 34 deletions
diff --git a/mixins/emacs/default.nix b/mixins/emacs/default.nix index a22523e..0290d20 100644 --- a/mixins/emacs/default.nix +++ b/mixins/emacs/default.nix @@ -5,29 +5,29 @@ inputs, ... }: { - imports = [ - inputs.home-manager.nixosModules."home-manager" - ]; - config = { - home-manager.users.tzlil = { - pkgs, - config, - nixosConfig, - ... - } @ hm: { - home = { - packages = with pkgs; [ - - ]; - }; - services.emacs = { - enable = true; - defaultEditor = true; - }; - programs.emacs = { - enable = true; - extraConfig = builtins.readFile ./init.el - }; - }; - } + # imports = [ + # inputs.home-manager.nixosModules."home-manager" + # ]; + # config = { + # home-manager.users.tzlil = { + # pkgs, + # config, + # nixosConfig, + # ... + # } @ hm: { + # home = { + # packages = with pkgs; [ + + # ]; + # }; + # services.emacs = { + # enable = true; + # defaultEditor = true; + # }; + # programs.emacs = { + # enable = true; + # extraConfig = builtins.readFile ./init.el + # }; + # }; + # } } diff --git a/mixins/hyprland.nix b/mixins/hyprland.nix index 3442438..3cc740c 100644 --- a/mixins/hyprland.nix +++ b/mixins/hyprland.nix @@ -5,16 +5,25 @@ inputs, ... }: { - imports = [ - inputs.hyprland.nixosModules.default - ]; config = { - programs.hyprland = { - enable = true; - xwayland = { - enable = false; - hidpi = false; - }; + home-manager.users.tzlil = { + pkgs, + config, + nixosConfig, + ... + } @ hm: { + imports = [ + inputs.hyprland.homeManagerModules.default + ]; + + wayland.windowManager.hyprland.enable = true; }; + # programs.hyprland = { + # enable = true; + # xwayland = { + # enable = false; + # hidpi = false; + # }; + # }; }; } diff --git a/mixins/tailscale.nix b/mixins/tailscale.nix index 0822d97..1398a1e 100644 --- a/mixins/tailscale.nix +++ b/mixins/tailscale.nix @@ -11,5 +11,13 @@ }; environment.persistence."/nix/persist".directories = ["/var/lib/tailscale"]; + + systemd.services.tailscaled = { + restartIfChanged = false; + serviceConfig.ExecStart = [ + "" + "${config.services.tailscale.package}/bin/tailscaled --state=mem: --port $PORT $FLAGS" + ]; + }; }; } |