replace atom_nix with alias, add pulsar

This commit is contained in:
Peder Bergebakken Sundt 2023-06-19 15:15:10 +02:00
parent fe6fb4ed5e
commit d6a6523e81
2 changed files with 8 additions and 6 deletions

View File

@ -1,7 +1,7 @@
# https://nix-community.github.io/home-manager/options.html
{ pkgs, config, ... }:
{
nixpkgs.config.allowUnfree = true;
#nixpkgs.config.allowUnfree = true;
home.stateVersion = "22.11"; # TODO: what uses this?
imports = [
@ -23,10 +23,10 @@
fi
# TODO: remove
function atom_nix {
#nix-shell -p atom --run "atom $(printf "%q " "$@") --in-process-gpu --no-sandbox"
nix-shell -p atom --run "atom $(printf "%q " "$@") --no-sandbox"
}
#function atom_nix {
# #nix-shell -p atom --run "atom $(printf "%q " "$@") --in-process-gpu --no-sandbox"
# nix-shell -p atom --run "atom $(printf "%q " "$@") --no-sandbox"
#}
'';
home.packages = with pkgs; [
@ -119,6 +119,8 @@
# TODO: move to /run/user/...
# TODO: add --nom once released - https://github.com/Mic92/nixpkgs-review/pull/303
nixpkgs-review = ''mkdir -p /dev/shm/nixpkgs-review && ln -sfn /dev/shm/nixpkgs-review $HOME/.cache/nixpkgs-review && nixpkgs-review'';
atom = "atom --no-sandbox";
};
programs.nix-index.enable = true;

View File

@ -2,7 +2,7 @@
{
home.packages = with pkgs; [
atom # TODO: config
#pulsar
pulsar # TODO: config, transition into this
discord
element-desktop#-wayland
f3d