From 4225eea9bb0ec1a5f2eb21eebfb8976df6e85e16 Mon Sep 17 00:00:00 2001 From: dim Date: Sat, 1 Mar 2025 08:12:12 +0700 Subject: [PATCH] add devenv, remove sops --- flake.nix | 8 ++++---- hosts/laptop/configuration.nix | 2 +- hosts/laptop/home.nix | 1 + nixos/nix.nix | 6 +++++- 4 files changed, 11 insertions(+), 6 deletions(-) diff --git a/flake.nix b/flake.nix index cc0c65d..64c2283 100644 --- a/flake.nix +++ b/flake.nix @@ -19,10 +19,10 @@ url = "github:Gerg-L/spicetify-nix"; inputs.nixpkgs.follows = "nixpkgs"; }; - sops-nix = { - url = "github:Mic92/sops-nix"; - inputs.nixpkgs.follows = "nixpkgs"; - }; + # sops-nix = { + # url = "github:Mic92/sops-nix"; + # inputs.nixpkgs.follows = "nixpkgs"; + # }; hyprland.url = "github:/hyprwm/Hyprland?submodules=1"; hyprpolkitagent.url = "github:hyprwm/hyprpolkitagent"; hyprpanel = { diff --git a/hosts/laptop/configuration.nix b/hosts/laptop/configuration.nix index c217f57..0156a5b 100644 --- a/hosts/laptop/configuration.nix +++ b/hosts/laptop/configuration.nix @@ -33,7 +33,7 @@ networking.hosts = { "192.168.122.52" = [ "websiteku.lokal" ]; - "127.0.0.1" = [ "dimensi.lokal" ]; + "127.0.0.1" = [ "dimensi.lokal" "sisfokampus.ddev.site" ]; # "43.239.205.20" = [ "dimensi.my" ]; # "103.106.6.124" = [ "dimensi.my" ]; }; diff --git a/hosts/laptop/home.nix b/hosts/laptop/home.nix index 903ad13..49be1d7 100644 --- a/hosts/laptop/home.nix +++ b/hosts/laptop/home.nix @@ -84,6 +84,7 @@ just ddev mkcert + devenv # Utils zip diff --git a/nixos/nix.nix b/nixos/nix.nix index db44cb0..1fdc13b 100644 --- a/nixos/nix.nix +++ b/nixos/nix.nix @@ -8,15 +8,19 @@ in { nix = { nixPath = [ "nixpkgs=${inputs.nixpkgs}" ]; channel.enable = false; + extraOptions = '' warn-dirty = false ''; settings = { auto-optimise-store = true; experimental-features = [ "nix-command" "flakes" ]; - substituters = [ "https://hyprland.cachix.org" ]; + substituters = + [ "https://hyprland.cachix.org" "https://devenv.cachix.org" ]; trusted-public-keys = [ "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" + "nixpkgs-python.cachix.org-1:hxjI7pFxTyuTHn2NkvWCrAUcNZLNS3ZAvfYNuYifcEU=" + "devenv.cachix.org-1:w1cLUi8dv3hnoSPGAuibQv+f9TZLr6cv/Hm9XgU50cw=" ]; }; gc = {