zenix: add hypridle and hyprlock, and format
This commit is contained in:
parent
c4abd3ddf0
commit
ce02fb7bee
11 changed files with 86 additions and 17 deletions
|
|
@ -19,10 +19,10 @@
|
|||
${toString (builtins.map (mapping: "-p ${mapping}") ports)} \
|
||||
${toString (builtins.map (mapping: "-v ${mapping}") volumes)} \
|
||||
${
|
||||
if builtins.isNull envFile
|
||||
then ""
|
||||
else "--env-file ${toString envFile}"
|
||||
} \
|
||||
if builtins.isNull envFile
|
||||
then ""
|
||||
else "--env-file ${toString envFile}"
|
||||
} \
|
||||
--detach --replace \
|
||||
--name ${name} \
|
||||
${image} ${command}
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ in {
|
|||
# breaks some work projects ):<
|
||||
networking.stevenblack.enable = false;
|
||||
|
||||
nixpkgs.overlays = [ (import ../../lib/cypress.nix) ];
|
||||
nixpkgs.overlays = [(import ../../lib/cypress.nix)];
|
||||
|
||||
services.onedrive.enable = true;
|
||||
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
inputs.nixos-cosmic.nixosModules.default
|
||||
];
|
||||
nix.settings = {
|
||||
substituters = [ "https://cosmic.cachix.org/" ];
|
||||
trusted-public-keys = [ "cosmic.cachix.org-1:Dya9IyXD4xdBehWjrkPv6rtxpmMdRel02smYzA85dPE=" ];
|
||||
substituters = ["https://cosmic.cachix.org/"];
|
||||
trusted-public-keys = ["cosmic.cachix.org-1:Dya9IyXD4xdBehWjrkPv6rtxpmMdRel02smYzA85dPE="];
|
||||
};
|
||||
services.desktopManager.cosmic.enable = true;
|
||||
services.displayManager.cosmic-greeter.enable = true;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
{lib, pkgs, ...}: {
|
||||
{
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
nixpkgs.config.allowUnfreePredicate = pkg:
|
||||
builtins.elem (lib.getName pkg) [
|
||||
"steam"
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@
|
|||
networking.firewall.allowedTCPPorts = [4713];
|
||||
|
||||
security.pam.services.swaylock = {};
|
||||
security.pam.services.hyprlock = {};
|
||||
security.polkit.enable = true;
|
||||
systemd.user.services.polkit-gnome-authentication-agent-1 = {
|
||||
description = "polkit-gnome-authentication-agent-1";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue