Merge branch 'main' of gh:greg-hellings/nixos-config

This commit is contained in:
Greg Hellings
2024-08-04 19:07:44 -05:00
39 changed files with 93 additions and 139 deletions
+2 -9
View File
@@ -7,18 +7,11 @@ let
system = pkgs.system;
in
{
nixpkgs.config.allowUnfreePredicate = (_: true);
imports = [
inputs.nixvim.homeManagerModules.default
./modules
./ansible.nix
./bash.nix
./direnv.nix
./git.nix
./ssh.nix
./vim.nix
./xonsh.nix
./hosts/${host}
];
] ++ lib.optionals (builtins.pathExists ./hosts/${host}) [ ./hosts/${host} ];
programs.tmux = {
-5
View File
@@ -1,5 +0,0 @@
{ ... }:
{
}
-5
View File
@@ -1,5 +0,0 @@
{ ... }:
{
}
-5
View File
@@ -1,5 +0,0 @@
{ ... }:
{
}
+4 -5
View File
@@ -11,11 +11,10 @@ let
tox
]);
in {
imports = [
../../vscodium.nix
];
greg.pypackage = py;
greg = {
pypackage = py;
vscodium = true;
};
home = {
packages = with pkgs; [
aacs
-4
View File
@@ -1,4 +0,0 @@
{ pkgs, config, ... }:
{
}
+7 -7
View File
@@ -1,16 +1,16 @@
{ pkgs, ... }:
{
imports = [
../../vscodium.nix
];
home.packages = with pkgs; [
(mumble.override { pulseSupport = true; })
logseq
#logseq
];
greg.gui = true;
greg.sway = false;
greg.gnome = false;
greg = {
gui = true;
sway = false;
gnome = false;
vscodium = true;
};
programs.xonsh.sessionVariables.EFI_DIR = "${pkgs.OVMF.fd}/FV/";
}
-5
View File
@@ -1,5 +0,0 @@
{ ... }:
{
}
-4
View File
@@ -1,4 +0,0 @@
{ ... }:
{
}
-4
View File
@@ -1,4 +0,0 @@
{ ... }:
{
}
+1 -3
View File
@@ -1,9 +1,7 @@
{ pkgs, ... }:
{
imports = [
../../vscodium.nix
];
greg.vscodium.enable = true;
home.packages = with pkgs; [
brew
-5
View File
@@ -1,5 +0,0 @@
{ ... }:
{
}
+13
View File
@@ -0,0 +1,13 @@
{ ... }:
{
imports = [
./ansible.nix
./bash.nix
./direnv.nix
./git.nix
./ssh.nix
./vim.nix
./xonsh.nix
];
}
@@ -44,6 +44,10 @@ def _cfetch(args):
$CIRCLECI_CLI_TOKEN=$(bw get password CircleCI)
compass workspace exec bazel run src/go/compass.com/tools/circleci_results_cache/fetch/cmd/fetch:fetch
def _aws_creds(args):
$AWS_ACCESS_KEY_ID=$(bw get username "AWS Access Key")
$AWS_SECRET_ACCESS_KEY=$(bw get password "AWS Access Key")
def _rebuild(args):
system = uname()
if system.sysname == 'Darwin':
@@ -92,6 +96,7 @@ def _bake(args):
git clone src:greg/copier-templates.git ~/.copier-templates
copier copy @(str(templates / args[0])) .
aliases['aws_creds'] = _aws_creds
aliases['glrestart'] = _glrestart
aliases['bake'] = _bake
aliases['unlock'] = _unlock
+2
View File
@@ -2,11 +2,13 @@
{
imports = [
./baseline
./development.nix
./gnome.nix
./gui.nix
./python.nix
./sway.nix
./vscodium.nix
./xonsh.nix
];
}
+1 -1
View File
@@ -56,7 +56,7 @@ in {
programs.firefox = {
enable = (! pkgs.stdenv.hostPlatform.isDarwin);
package = ffPkgs;
#package = ffPkgs;
profiles = {
default = {
settings = {
+32
View File
@@ -0,0 +1,32 @@
{ pkgs, config, lib, ... }:
let
cfg = config.greg.vscodium;
in {
options.greg.vscodium = lib.mkEnableOption "Enable installation of VSCodium on the host";
config = lib.mkIf cfg {
home.packages = with pkgs; [
buildifier
gopls
];
# An alternative editor to vim, when I need it for some things
programs.vscode = {
enable = true;
package = pkgs.vscodium;
extensions = with pkgs.vscode-extensions; [
arrterian.nix-env-selector
asvetliakov.vscode-neovim
bungcip.better-toml
golang.go
jnoortheen.nix-ide
mkhl.direnv
ms-python.python
vscjava.vscode-java-test
vscjava.vscode-java-dependency
vscjava.vscode-java-debug
];
};
};
}
-26
View File
@@ -1,26 +0,0 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [
buildifier
gopls
];
# An alternative editor to vim, when I need it for some things
programs.vscode = {
enable = true;
package = pkgs.vscodium;
extensions = with pkgs.vscode-extensions; [
arrterian.nix-env-selector
asvetliakov.vscode-neovim
bungcip.better-toml
golang.go
jnoortheen.nix-ide
mkhl.direnv
ms-python.python
vscjava.vscode-java-test
vscjava.vscode-java-dependency
vscjava.vscode-java-debug
];
};
}