Add distrobox and podman, don't sync submodules to /etc/nixos/config

This commit is contained in:
Evie Litherland-Smith 2023-06-01 13:37:15 +01:00
parent 3335058680
commit fba214d3e3
6 changed files with 7 additions and 4 deletions

1
.envrc
View file

@ -1 +0,0 @@
use nix

View file

@ -4,3 +4,6 @@
.envrc
./shell.nix
Makefile
nvim/
hypr/
waybar/

View file

@ -4,7 +4,7 @@ CONFIG_DIR := $(if $(XDG_CONFIG_HOME), $(XDG_CONFIG_HOME), $(HOME)/.config)
HOMEMANAGER_CONFIG_DIR := $(CONFIG_DIR)/home-manager
SUBMODULES := $(CONFIG_DIR)/nvim $(CONFIG_DIR)/hypr $(CONFIG_DIR)/waybar
.PHONY: default clean nixos home
.PHONY: default clean nixos home /etc/nixos/config
default: $(SUBMODULES)
command -v nix > /dev/null || exit 1

View file

@ -13,6 +13,8 @@
# Enable power-profiles
services.power-profiles-daemon.enable = true;
services.flatpak.enable = true;
virtualisation.podman.enable = true;
programs.nix-ld = {
enable = true;
libraries = with pkgs; [

View file

@ -1,5 +1,6 @@
{pkgs, ...}: {
home.packages = with pkgs; [
distrobox
libreoffice-fresh
otpclient
];

View file

@ -1,2 +0,0 @@
{pkgs ? import <nixpkgs> {}, ...}:
pkgs.mkShell {buildInputs = with pkgs; [gnumake pre-commit];}