simplify workstation foundation
This commit is contained in:
1 parent
b2cea40ddb
commit
69552b74d9
4 files changed
+18
-46
No files matched your search
@@ -1,15 +1,7 @@
|
||||
{ inputs, ... }:
|
||||
{ ... }:
|
||||
{
|
||||
flake.modules.homeManager.dev-tools =
|
||||
{ config, pkgs, ... }:
|
||||
let
|
||||
stablePkgs = import inputs.nixpkgs-stable {
|
||||
inherit (pkgs.stdenv.hostPlatform) system;
|
||||
config = {
|
||||
inherit (pkgs.config) allowUnfree;
|
||||
};
|
||||
};
|
||||
in
|
||||
{
|
||||
home.sessionVariables.CARGO_HOME = "${config.xdg.dataHome}/cargo";
|
||||
home.packages = with pkgs; [
|
||||
@@ -23,6 +15,7 @@
|
||||
scc
|
||||
nodejs
|
||||
mariadb
|
||||
just
|
||||
];
|
||||
|
||||
programs.lazygit = {
|
||||
|
||||
@@ -3,11 +3,16 @@ let
|
||||
homeModules = config.flake.modules.homeManager;
|
||||
in
|
||||
{
|
||||
flake.modules.nixos.podman = {
|
||||
home-manager.sharedModules = [ homeModules.podman ];
|
||||
flake.modules.nixos.podman =
|
||||
{ lib, pkgs, ... }:
|
||||
{
|
||||
home-manager.sharedModules = [ homeModules.podman ];
|
||||
|
||||
virtualisation.podman.enable = true;
|
||||
};
|
||||
virtualisation.podman.enable = true;
|
||||
virtualisation.containers.containersConf.settings.engine.compose_providers = [
|
||||
(lib.getExe pkgs.podman-compose)
|
||||
];
|
||||
};
|
||||
|
||||
flake.modules.homeManager.podman =
|
||||
{ osConfig, pkgs, ... }:
|
||||
|
||||
Reference in new issue
Block a user