diff --git a/config/default.nix b/config/default.nix index 18a330e..376c30e 100644 --- a/config/default.nix +++ b/config/default.nix @@ -40,7 +40,7 @@ nixpkgs = { config.allowUnfree = true; overlays = [ - (self: super: { + (_: super: { nix-direnv = super.nix-direnv.override { enableFlakes = true; }; diff --git a/config/github_runner.nix b/config/github_runner.nix deleted file mode 100644 index 4f22cad..0000000 --- a/config/github_runner.nix +++ /dev/null @@ -1,12 +0,0 @@ -{ pkgs, ... }: -{ - nixpkgs.config.permittedInsecurePackages = [ - "nodejs-16.20.1" - ]; - - services.github-runner = { - enable = true; - tokenFile = "/run/secrets/github-runner/nixos.token"; - url = "https://github.com/Sigmapitech"; - }; -} diff --git a/hardware/bacon.nix b/hardware/bacon.nix index eb0a3f8..9a5c9d7 100644 --- a/hardware/bacon.nix +++ b/hardware/bacon.nix @@ -1,4 +1,4 @@ -{ config, lib, pkgs, modulesPath, ... }: +{ config, lib, modulesPath, ... }: { imports = [ (modulesPath + "/installer/scan/not-detected.nix") diff --git a/hardware/sigmachine.nix b/hardware/sigmachine.nix index 9adf182..c1b9835 100644 --- a/hardware/sigmachine.nix +++ b/hardware/sigmachine.nix @@ -1,4 +1,4 @@ -{ config, lib, pkgs, modulesPath, ... }: +{ config, lib, modulesPath, ... }: { imports = [ (modulesPath + "/installer/scan/not-detected.nix") diff --git a/home/betterlockscreen/default.nix b/home/betterlockscreen/default.nix index 7122d2f..c0d2d7d 100644 --- a/home/betterlockscreen/default.nix +++ b/home/betterlockscreen/default.nix @@ -1,4 +1,4 @@ -{ config, pkgs, ... }: +{ ... }: { services.betterlockscreen = { enable = true; diff --git a/home/btop/default.nix b/home/btop/default.nix index 05411a2..8575a48 100644 --- a/home/btop/default.nix +++ b/home/btop/default.nix @@ -1,8 +1,6 @@ { pkgs, ... }: { - home.packages = with pkgs; [ - pkgs.btop - ]; + home.packages = with pkgs; [ btop ]; home.file.btop_config = { source = ./btop.conf; diff --git a/home/extra_files.nix b/home/extra_files.nix index e0bebb0..741637d 100644 --- a/home/extra_files.nix +++ b/home/extra_files.nix @@ -1,4 +1,4 @@ -{ pkgs, ... }: +{ ... }: { home.file = { xinitrc = { diff --git a/home/firefox/extra_policies.nix b/home/firefox/extra_policies.nix index 0414021..7cb2aa9 100644 --- a/home/firefox/extra_policies.nix +++ b/home/firefox/extra_policies.nix @@ -1,4 +1,4 @@ -{ pkgs, ... }: +{ ... }: { extraPolicies = { CaptivePortal = false; diff --git a/home/flameshot.nix b/home/flameshot.nix index 670c36a..9d7b25e 100644 --- a/home/flameshot.nix +++ b/home/flameshot.nix @@ -1,4 +1,4 @@ -{ config, pkgs, ... }: +{ ... }: { services.flameshot = { enable = true; diff --git a/home/kitty.nix b/home/kitty.nix index 26e3133..caa3874 100644 --- a/home/kitty.nix +++ b/home/kitty.nix @@ -1,4 +1,4 @@ -{ pkgs, ... }: +{ ... }: { programs.kitty = { enable = true; diff --git a/home/neofetch/default.nix b/home/neofetch/default.nix index b232bdb..ab05c65 100644 --- a/home/neofetch/default.nix +++ b/home/neofetch/default.nix @@ -1,4 +1,4 @@ -{ pkgs, ... }: +{ ... }: { home.file.neofetch_config = { source = ./config.conf; diff --git a/home/picom/default.nix b/home/picom/default.nix index db81c45..ce19b10 100644 --- a/home/picom/default.nix +++ b/home/picom/default.nix @@ -1,4 +1,4 @@ -{ pkgs, ... }: +{ ... }: { home.file.picom_config = { source = ./picom.conf;