diff options
-rw-r--r-- | flake.lock | 39 | ||||
-rw-r--r-- | flake.nix | 4 | ||||
-rw-r--r-- | hosts/vm/cfg.nix | 6 | ||||
-rw-r--r-- | profiles/core.nix | 1 |
4 files changed, 46 insertions, 4 deletions
diff --git a/flake.lock b/flake.lock index 9822f46..cfd903e 100644 --- a/flake.lock +++ b/flake.lock @@ -216,6 +216,27 @@ "type": "github" } }, + "programsdb": { + "inputs": { + "nixpkgs": [ + "nixpkgs" + ], + "utils": "utils_2" + }, + "locked": { + "lastModified": 1675756633, + "narHash": "sha256-8zFmga2fhVQmAnFimH1CtHL+hiGtapnnN6q1mUAPT2k=", + "owner": "wamserma", + "repo": "flake-programs-sqlite", + "rev": "621bd365e7f4fdd77994009891266214b54b8b6d", + "type": "github" + }, + "original": { + "owner": "wamserma", + "repo": "flake-programs-sqlite", + "type": "github" + } + }, "root": { "inputs": { "agenix": "agenix", @@ -224,7 +245,8 @@ "impermanence": "impermanence", "nixinate": "nixinate", "nixos-hardware": "nixos-hardware", - "nixpkgs": "nixpkgs_4" + "nixpkgs": "nixpkgs_4", + "programsdb": "programsdb" } }, "utils": { @@ -242,6 +264,21 @@ "type": "github" } }, + "utils_2": { + "locked": { + "lastModified": 1667395993, + "narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "5aed5285a952e0b949eb3ba02c12fa4fcfef535f", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, "wlroots": { "flake": false, "locked": { diff --git a/flake.nix b/flake.nix index 8af44de..099efd4 100644 --- a/flake.nix +++ b/flake.nix @@ -11,6 +11,10 @@ url = "github:nix-community/home-manager"; inputs.nixpkgs.follows = "nixpkgs"; }; + programsdb = { + url = "github:wamserma/flake-programs-sqlite"; + inputs.nixpkgs.follows = "nixpkgs"; + }; hyprland.url = "github:hyprwm/Hyprland"; }; diff --git a/hosts/vm/cfg.nix b/hosts/vm/cfg.nix index 4042ea0..4084ef9 100644 --- a/hosts/vm/cfg.nix +++ b/hosts/vm/cfg.nix @@ -6,8 +6,8 @@ # ../../profiles/graphical.nix ../../mixins/tailscale.nix ../../mixins/cli.nix - ../../mixins/greet.nix - ../../mixins/hyprland.nix + # ../../mixins/greet.nix + # ../../mixins/hyprland.nix # ../../mixins/sway.nix ]; @@ -72,6 +72,6 @@ algorithm = "zstd"; }; - greeter.initialSession = "sh -c hyprland"; + # greeter.initialSession = "sh -c hyprland"; }; } \ No newline at end of file diff --git a/profiles/core.nix b/profiles/core.nix index e23879f..17d64e2 100644 --- a/profiles/core.nix +++ b/profiles/core.nix @@ -24,5 +24,6 @@ environment.defaultPackages = lib.mkForce []; age.identityPaths = [ "/nix/persist/etc/ssh/ssh_host_ed25519_key" ]; + programs.command-not-found.dbPath = inputs.programsdb.packages.${pkgs.system}.programs-sqlite; }; } \ No newline at end of file |