home-manager: cleanup&rename configuration
This commit is contained in:
parent
a208015c62
commit
eced1a3bc1
6 changed files with 6 additions and 406 deletions
|
@ -27,19 +27,6 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
packageOverrides = pkgs: with pkgs; {
|
packageOverrides = pkgs: with pkgs; {
|
||||||
busyboxStatic = busybox.override {
|
|
||||||
enableStatic = true;
|
|
||||||
extraConfig = ''
|
|
||||||
CONFIG_STATIC y
|
|
||||||
CONFIG_INSTALL_APPLET_DONT y
|
|
||||||
CONFIG_INSTALL_APPLET_SYMLINKS n
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
dropbearStatic = dropbear.override {
|
|
||||||
enableStatic = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
myPython36 = python36Full.withPackages (ps: with ps; [
|
myPython36 = python36Full.withPackages (ps: with ps; [
|
||||||
pylint pep8 yapf flake8
|
pylint pep8 yapf flake8
|
||||||
# autopep8 (broken)
|
# autopep8 (broken)
|
|
@ -1,383 +0,0 @@
|
||||||
{ pkgs
|
|
||||||
, config,
|
|
||||||
... }:
|
|
||||||
|
|
||||||
let
|
|
||||||
# gitpkgs = import /home/steveej/src/github/NixOS/nixpkgs {};
|
|
||||||
unstablepkgs = import <nixos-unstable> {};
|
|
||||||
|
|
||||||
in {
|
|
||||||
imports = [
|
|
||||||
../profiles/common.nix
|
|
||||||
../profiles/qtile-desktop.nix
|
|
||||||
../programs/emacs.nix
|
|
||||||
../programs/firefox.nix
|
|
||||||
../programs/chromium.nix
|
|
||||||
../programs/homeshick.nix
|
|
||||||
../programs/libreoffice.nix
|
|
||||||
../programs/neovim.nix
|
|
||||||
../programs/pass.nix
|
|
||||||
../programs/zsh.nix
|
|
||||||
];
|
|
||||||
|
|
||||||
nixpkgs.config = {
|
|
||||||
pidgin = {
|
|
||||||
openssl = true;
|
|
||||||
gnutls = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
packageOverrides = pkgs: with pkgs; {
|
|
||||||
myPython36 = python36Full.withPackages (ps: with ps; [
|
|
||||||
pylint pep8 yapf flake8
|
|
||||||
# autopep8 (broken)
|
|
||||||
# pylint (broken)
|
|
||||||
ipython
|
|
||||||
llfuse
|
|
||||||
dugong
|
|
||||||
defusedxml
|
|
||||||
wheel
|
|
||||||
pip
|
|
||||||
virtualenv
|
|
||||||
pypi2nix
|
|
||||||
cffi
|
|
||||||
pyopenssl
|
|
||||||
urllib3
|
|
||||||
mistune
|
|
||||||
|
|
||||||
flask
|
|
||||||
|
|
||||||
pyaml
|
|
||||||
] ++ [
|
|
||||||
pkgs.libffi
|
|
||||||
]);
|
|
||||||
|
|
||||||
staruml = callPackage ../../pkgs/staruml.nix { inherit (gnome2) GConf; libgcrypt = libgcrypt_1_5; };
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
home.sessionVariables = {
|
|
||||||
HM_CONFIG=builtins.toString ./.;
|
|
||||||
|
|
||||||
GOPATH="$HOME/src/go";
|
|
||||||
|
|
||||||
PATH=pkgs.lib.concatStringsSep ":" [
|
|
||||||
"$HOME/.local/bin"
|
|
||||||
"$HOME/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin"
|
|
||||||
"$HOME/.cargo/bin"
|
|
||||||
"$HOME/.gem/ruby/2.3.0/bin"
|
|
||||||
"$HOME/.npm-packages/bin"
|
|
||||||
"$GOPATH/bin"
|
|
||||||
"$PATH"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
home.packages = []
|
|
||||||
++ (with pkgs; [
|
|
||||||
# Authentication
|
|
||||||
cacert
|
|
||||||
fprintd
|
|
||||||
openssl
|
|
||||||
mkpasswd
|
|
||||||
|
|
||||||
# Nix package related tools
|
|
||||||
patchelf
|
|
||||||
nix-index
|
|
||||||
nox
|
|
||||||
nix-prefetch-scripts
|
|
||||||
|
|
||||||
# Version Control Systems
|
|
||||||
git-crypt
|
|
||||||
unstablepkgs.pijul
|
|
||||||
gitFull
|
|
||||||
gitless
|
|
||||||
mr
|
|
||||||
|
|
||||||
gitRepo
|
|
||||||
|
|
||||||
# Cloud/Remote System Management
|
|
||||||
google-cloud-sdk
|
|
||||||
ansible
|
|
||||||
nixops
|
|
||||||
unstablepkgs.terraform
|
|
||||||
awscli
|
|
||||||
hcloud
|
|
||||||
|
|
||||||
# Process/System Administration
|
|
||||||
htop
|
|
||||||
gnome3.gnome-tweak-tool
|
|
||||||
xorg.xhost
|
|
||||||
dmidecode
|
|
||||||
python36Packages.glances
|
|
||||||
evtest
|
|
||||||
|
|
||||||
# Archive Managers
|
|
||||||
sshfsFuse
|
|
||||||
xarchive
|
|
||||||
p7zip
|
|
||||||
zip
|
|
||||||
unzip
|
|
||||||
gzip
|
|
||||||
lzop
|
|
||||||
|
|
||||||
# Password Management
|
|
||||||
gnupg
|
|
||||||
yubikey-neo-manager
|
|
||||||
yubikey-personalization
|
|
||||||
yubikey-personalization-gui
|
|
||||||
gnome3.gnome_keyring
|
|
||||||
gnome3.seahorse
|
|
||||||
|
|
||||||
# Security
|
|
||||||
tpm-tools
|
|
||||||
tpmmanager
|
|
||||||
|
|
||||||
# Web Browsers
|
|
||||||
links2
|
|
||||||
|
|
||||||
# Language Support
|
|
||||||
hunspellDicts.en-us
|
|
||||||
hunspellDicts.de-de
|
|
||||||
|
|
||||||
# Messaging/Communication
|
|
||||||
pidgin
|
|
||||||
hexchat
|
|
||||||
aspellDicts.en
|
|
||||||
aspellDicts.de
|
|
||||||
unstablepkgs.skype
|
|
||||||
zoom-us
|
|
||||||
unstablepkgs.bluejeans-gui
|
|
||||||
thunderbird
|
|
||||||
gnome3.evolution # gnome4.glib_networking
|
|
||||||
tdesktop
|
|
||||||
gnome3.cheese
|
|
||||||
|
|
||||||
# Virtualization
|
|
||||||
virtmanager
|
|
||||||
qemu
|
|
||||||
# virtualbox
|
|
||||||
vagrant
|
|
||||||
unstablepkgs.rkt
|
|
||||||
python27Packages.docker_compose
|
|
||||||
# unstablepkgs.kubernetes
|
|
||||||
unstablepkgs.minikube
|
|
||||||
unstablepkgs.openshift
|
|
||||||
# (unstablepkgs.minikube.overrideAttrs (oldAttrs: {
|
|
||||||
# patches = oldAttrs.patches ++ [
|
|
||||||
# (builtins.fetchurl { url ="https://patch-diff.githubusercontent.com/raw/kubernetes/minikube/pull/2517.diff"; })
|
|
||||||
# ];
|
|
||||||
# }))
|
|
||||||
|
|
||||||
# Remote Control Tools
|
|
||||||
remmina
|
|
||||||
freerdp
|
|
||||||
x2goclient
|
|
||||||
teamviewer
|
|
||||||
|
|
||||||
# Audio/Video Players
|
|
||||||
ffmpeg
|
|
||||||
vlc
|
|
||||||
audacity
|
|
||||||
spotify
|
|
||||||
smtube
|
|
||||||
python27Packages.youtube-dl-light
|
|
||||||
screenkey
|
|
||||||
quvi
|
|
||||||
|
|
||||||
# Network Tools
|
|
||||||
openvpn
|
|
||||||
tcpdump
|
|
||||||
iftop
|
|
||||||
iperf
|
|
||||||
bind
|
|
||||||
socat
|
|
||||||
|
|
||||||
# samba
|
|
||||||
iptables
|
|
||||||
nftables
|
|
||||||
wireshark
|
|
||||||
|
|
||||||
# Code Editors
|
|
||||||
xclip
|
|
||||||
xsel
|
|
||||||
unstablepkgs.vscode
|
|
||||||
# (vscode-with-extensions.override {
|
|
||||||
# # When the extension is already available in the default extensions set.
|
|
||||||
# vscodeExtensions = with vscode-extensions; [
|
|
||||||
# ]
|
|
||||||
# # Concise version from the vscode market place when not available in the default set.
|
|
||||||
# ++ vscode-utils.extensionsFromVscodeMarketplace [
|
|
||||||
# {
|
|
||||||
# name = "vsliveshare";
|
|
||||||
# publisher = "MS-vsliveshare";
|
|
||||||
# version = "0.3.198";
|
|
||||||
# sha256 = "019ffyxca3qnqyz1fr7vh0plfdkc3ikr8v295z846lghvwlzjqdh";
|
|
||||||
# }
|
|
||||||
# ];
|
|
||||||
# })
|
|
||||||
|
|
||||||
unstablepkgs.atom
|
|
||||||
|
|
||||||
# Image/Graphic/Design Tools
|
|
||||||
gnome3.eog
|
|
||||||
gimp
|
|
||||||
imagemagick
|
|
||||||
exiv2
|
|
||||||
graphviz
|
|
||||||
inkscape
|
|
||||||
## barcode
|
|
||||||
qrencode
|
|
||||||
zbar
|
|
||||||
feh
|
|
||||||
# digikam
|
|
||||||
|
|
||||||
|
|
||||||
# Modelling Tools
|
|
||||||
plantuml
|
|
||||||
umlet
|
|
||||||
staruml
|
|
||||||
eclipses.eclipse-modeling
|
|
||||||
dia
|
|
||||||
astah-community
|
|
||||||
|
|
||||||
# Misc Development Tools
|
|
||||||
qrcode
|
|
||||||
travis
|
|
||||||
jq
|
|
||||||
prometheus
|
|
||||||
cdrtools
|
|
||||||
|
|
||||||
# Document Processing and Management
|
|
||||||
unstablepkgs.zathura
|
|
||||||
mendeley
|
|
||||||
jabref
|
|
||||||
zotero
|
|
||||||
hugo
|
|
||||||
pandoc
|
|
||||||
|
|
||||||
# LaTeX
|
|
||||||
perlPackages.YAMLTiny
|
|
||||||
perlPackages.FileHomeDir
|
|
||||||
perlPackages.UnicodeLineBreak
|
|
||||||
(texlive.combine {
|
|
||||||
inherit (texlive)
|
|
||||||
scheme-small
|
|
||||||
texlive-de
|
|
||||||
texlive-en
|
|
||||||
texlive-scripts
|
|
||||||
collection-langgerman
|
|
||||||
|
|
||||||
latexindent
|
|
||||||
latexmk
|
|
||||||
|
|
||||||
algorithms
|
|
||||||
cm-super
|
|
||||||
|
|
||||||
preprint
|
|
||||||
enumitem
|
|
||||||
draftwatermark
|
|
||||||
everypage
|
|
||||||
ulem
|
|
||||||
placeins
|
|
||||||
minted ifplatform fvextra xstring framed
|
|
||||||
;
|
|
||||||
})
|
|
||||||
|
|
||||||
pdftk
|
|
||||||
masterpdfeditor
|
|
||||||
|
|
||||||
# File Synchronzation
|
|
||||||
seafile-client
|
|
||||||
syncthing
|
|
||||||
grive2
|
|
||||||
dropbox
|
|
||||||
# gocryptfs
|
|
||||||
# hubicfuse
|
|
||||||
# s3ql
|
|
||||||
# rclone
|
|
||||||
rsync
|
|
||||||
|
|
||||||
# Filesystem Tools
|
|
||||||
ntfs3g
|
|
||||||
ddrescue
|
|
||||||
ncdu
|
|
||||||
unstablepkgs.woeusb
|
|
||||||
unetbootin
|
|
||||||
pcmanfm
|
|
||||||
hdparm
|
|
||||||
testdisk
|
|
||||||
python27Packages.binwalk
|
|
||||||
gptfdisk
|
|
||||||
|
|
||||||
# games
|
|
||||||
zeroad
|
|
||||||
|
|
||||||
# Compilers & Toolchains
|
|
||||||
autoconf
|
|
||||||
automake
|
|
||||||
libtool
|
|
||||||
gcc
|
|
||||||
pkgconfig
|
|
||||||
binutils
|
|
||||||
valgrind
|
|
||||||
gdb
|
|
||||||
cgdb
|
|
||||||
man-pages
|
|
||||||
gnumake
|
|
||||||
shellcheck
|
|
||||||
bazel
|
|
||||||
|
|
||||||
## Android
|
|
||||||
androidsdk
|
|
||||||
|
|
||||||
## Java
|
|
||||||
jre
|
|
||||||
openjdk
|
|
||||||
|
|
||||||
## Ruby
|
|
||||||
ruby
|
|
||||||
|
|
||||||
## Python
|
|
||||||
myPython36
|
|
||||||
pypi2nix
|
|
||||||
|
|
||||||
## Webdev
|
|
||||||
nodejs-8_x
|
|
||||||
npm2nix
|
|
||||||
emscripten
|
|
||||||
etcd
|
|
||||||
sigal
|
|
||||||
|
|
||||||
# Code generators
|
|
||||||
unstablepkgs.swagger-codegen
|
|
||||||
|
|
||||||
# Misc Desktop Tools
|
|
||||||
ltunify
|
|
||||||
solaar
|
|
||||||
dex
|
|
||||||
roxterm
|
|
||||||
# kitty
|
|
||||||
busyboxStatic
|
|
||||||
xorg.xbacklight
|
|
||||||
coreutils
|
|
||||||
lsof
|
|
||||||
pavucontrol
|
|
||||||
x11_ssh_askpass
|
|
||||||
xdotool
|
|
||||||
xdg_utils
|
|
||||||
xdg-user-dirs
|
|
||||||
gnome3.dconf
|
|
||||||
picocom
|
|
||||||
glib.dev # contains gdbus tool
|
|
||||||
|
|
||||||
# Screen recording
|
|
||||||
gtk-recordmydesktop # can't select the window
|
|
||||||
qt-recordmydesktop
|
|
||||||
vokoscreen
|
|
||||||
shutter
|
|
||||||
# kazam # doesn't start
|
|
||||||
# xvidcap # doesn't keep the recording rectangle
|
|
||||||
obs-studio
|
|
||||||
shotcut
|
|
||||||
openshot-qt
|
|
||||||
]);
|
|
||||||
}
|
|
|
@ -3,8 +3,6 @@
|
||||||
... }:
|
... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
# gitpkgs = import /home/steveej/src/github/NixOS/nixpkgs {};
|
|
||||||
# unstablepkgs = import <nixos-unstable> {};
|
|
||||||
|
|
||||||
in {
|
in {
|
||||||
imports = [
|
imports = [
|
|
@ -1,7 +1,11 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
# Package configuration
|
imports = [
|
||||||
|
"${builtins.fetchGit { url = "https://github.com/rycee/home-manager.git"; ref = "master"; }}/nixos"
|
||||||
|
];
|
||||||
|
home-manager.users.root = import ../../../home-manager/configuration/text-minimal.txt;
|
||||||
|
|
||||||
nixpkgs.config = {
|
nixpkgs.config = {
|
||||||
allowBroken = false;
|
allowBroken = false;
|
||||||
allowUnfree = true;
|
allowUnfree = true;
|
||||||
|
@ -40,10 +44,4 @@
|
||||||
usbutils
|
usbutils
|
||||||
pciutils
|
pciutils
|
||||||
];
|
];
|
||||||
|
|
||||||
imports = [
|
|
||||||
"${builtins.fetchGit { url = "https://github.com/rycee/home-manager.git"; ref = "master"; }}/nixos"
|
|
||||||
];
|
|
||||||
|
|
||||||
home-manager.users.root = import ../../../home-manager/configuration/root.nix;
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,5 +7,5 @@
|
||||||
"${builtins.fetchGit { url = "https://github.com/rycee/home-manager.git"; ref = "master"; }}/nixos"
|
"${builtins.fetchGit { url = "https://github.com/rycee/home-manager.git"; ref = "master"; }}/nixos"
|
||||||
];
|
];
|
||||||
|
|
||||||
home-manager.users.steveej = import ../../../home-manager/configuration/removable-desktop.nix;
|
home-manager.users.steveej = import ../../../home-manager/configuration/graphical-removable.nix;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue