forked from jan-leila/nix-config
main #2
5 changed files with 36 additions and 24 deletions
|
@ -45,7 +45,9 @@ in {
|
||||||
++ (
|
++ (
|
||||||
lib.lists.optionals hardware.directAccess.enable (with pkgs; [
|
lib.lists.optionals hardware.directAccess.enable (with pkgs; [
|
||||||
#foss platforms
|
#foss platforms
|
||||||
|
# TODO: move signal to package with impermanence
|
||||||
signal-desktop-bin
|
signal-desktop-bin
|
||||||
|
# TODO: move bitwarden to package with impermanence
|
||||||
bitwarden
|
bitwarden
|
||||||
ungoogled-chromium
|
ungoogled-chromium
|
||||||
libreoffice
|
libreoffice
|
||||||
|
@ -55,9 +57,12 @@ in {
|
||||||
freecad
|
freecad
|
||||||
# cura
|
# cura
|
||||||
# kicad-small
|
# kicad-small
|
||||||
|
# TODO: move makemkv to package with configs set and impermanence
|
||||||
makemkv
|
makemkv
|
||||||
onionshare
|
onionshare
|
||||||
# rhythmbox
|
# rhythmbox
|
||||||
|
|
||||||
|
# TODO: move obs to package with impermanence
|
||||||
(lib.mkIf hardware.graphicsAcceleration.enable obs-studio)
|
(lib.mkIf hardware.graphicsAcceleration.enable obs-studio)
|
||||||
# wireshark
|
# wireshark
|
||||||
# rpi-imager
|
# rpi-imager
|
||||||
|
@ -71,17 +76,22 @@ in {
|
||||||
picard
|
picard
|
||||||
|
|
||||||
# proprietary platforms
|
# proprietary platforms
|
||||||
|
# TODO: move discord to package with impermanence
|
||||||
discord
|
discord
|
||||||
|
# TODO: move obsidian to package with impermanence
|
||||||
obsidian
|
obsidian
|
||||||
|
# TODO: move prostudiomasters to package with impermanence
|
||||||
prostudiomasters
|
prostudiomasters
|
||||||
(lib.mkIf hardware.graphicsAcceleration.enable davinci-resolve)
|
(lib.mkIf hardware.graphicsAcceleration.enable davinci-resolve)
|
||||||
|
|
||||||
# development tools
|
# development tools
|
||||||
# androidStudioPackages.canary
|
# androidStudioPackages.canary
|
||||||
|
# TODO: move idea to package with impermanence and installed extensions
|
||||||
jetbrains.idea-community
|
jetbrains.idea-community
|
||||||
qFlipper
|
qFlipper
|
||||||
|
|
||||||
# system tools
|
# system tools
|
||||||
|
# TODO: move protonvpn to package with impermanence and installed extensions
|
||||||
protonvpn-gui
|
protonvpn-gui
|
||||||
openvpn
|
openvpn
|
||||||
noisetorch
|
noisetorch
|
||||||
|
|
|
@ -1,11 +1,21 @@
|
||||||
{config, ...}: {
|
{
|
||||||
config = {
|
lib,
|
||||||
|
config,
|
||||||
|
osConfig,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
userConfig = osConfig.host.users.leyla;
|
||||||
|
in {
|
||||||
|
config = lib.mkIf userConfig.isDesktopUser {
|
||||||
programs = {
|
programs = {
|
||||||
git = {
|
direnv = {
|
||||||
enable = config.user.isDesktopUser || config.user.isTerminalUser;
|
enable = true;
|
||||||
userName = "Leyla Becker";
|
enableBashIntegration = true;
|
||||||
userEmail = "git@jan-leila.com";
|
nix-direnv.enable = true;
|
||||||
extraConfig.init.defaultBranch = "main";
|
config = {
|
||||||
|
global.hide_env_diff = true;
|
||||||
|
whitelist.exact = ["${config.home.homeDirectory}/documents/code/nix-config"];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -341,5 +341,6 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
# TODO: impermanence module, prob in home-manager-modules?
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,21 +1,11 @@
|
||||||
{
|
{config, ...}: {
|
||||||
lib,
|
|
||||||
config,
|
|
||||||
osConfig,
|
|
||||||
...
|
|
||||||
}: let
|
|
||||||
userConfig = osConfig.host.users.leyla;
|
|
||||||
in {
|
|
||||||
config = lib.mkIf userConfig.isDesktopUser {
|
|
||||||
programs = {
|
|
||||||
direnv = {
|
|
||||||
enable = true;
|
|
||||||
enableBashIntegration = true;
|
|
||||||
nix-direnv.enable = true;
|
|
||||||
config = {
|
config = {
|
||||||
global.hide_env_diff = true;
|
programs = {
|
||||||
whitelist.exact = ["${config.home.homeDirectory}/documents/code/nix-config"];
|
git = {
|
||||||
};
|
enable = config.user.isDesktopUser || config.user.isTerminalUser;
|
||||||
|
userName = "Leyla Becker";
|
||||||
|
userEmail = "git@jan-leila.com";
|
||||||
|
extraConfig.init.defaultBranch = "main";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -20,5 +20,6 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
# TODO: impermanence module, prob in home-manager-modules?
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue