This commit is contained in:
Gabriella Bere 2024-07-16 11:18:51 +01:00
commit 3cb3e95e89
9 changed files with 468 additions and 0 deletions

6
modules/environment.nix Normal file
View file

@ -0,0 +1,6 @@
{
# set FLAKE variable for use with nh
environment.sessionVariables = {
FLAKE = "/home/blue/nixos";
};
}

View file

@ -0,0 +1,29 @@
{ config, lib, pkgs, ... }:
{
programs.zsh = {
enable = true;
autocd = true;
dotDir = ".config/zsh";
enableAutosuggestions = true;
enableCompletion = true;
# shellAliases = {
# sl = "exa";
# ls = "exa";
# l = "exa -l";
# la = "exa -la";
# ip = "ip --color=auto";
# };
plugins = with pkgs; [
{
name = "zsh-syntax-highlighting";
src = fetchFromGitHub {
owner = "zsh-users";
repo = "zsh-syntax-highlighting";
rev = "0.6.0";
sha256 = "0zmq66dzasmr5pwribyh4kbkk23jxbpdw4rjxx0i7dx8jjp2lzl4";
};
file = "agkozak-zsh-prompt.plugin.zsh";
}
}

9
modules/nh.nix Normal file
View file

@ -0,0 +1,9 @@
{ config, pkgs, ... }:
{
programs.nh = {
enable = true;
clean.enable = true;
clean.extraArgs = "--keep-since 4d --keep 3";
flake = "/home/blue/nixos";
};
}

3
modules/waydroid.nix Normal file
View file

@ -0,0 +1,3 @@
{
virtualisation.waydroid.enable = true;
}