openconnect

This commit is contained in:
Till 2023-05-17 01:31:01 +02:00
parent 81935275ab
commit b5f913c929
6 changed files with 83 additions and 29 deletions

14
flake.lock generated
View file

@ -7,11 +7,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1683762874, "lastModified": 1684157850,
"narHash": "sha256-EC7EDhzz/HjKppcaJFePlCOZqfVg8fooO/aWWUxwAJU=", "narHash": "sha256-xGHTCgvAxO5CgAL6IAgE/VGRX2wob2Y+DPyqpXJ32oQ=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "010c26987729d6a2e0e19da6df7c3f0465ae03b3", "rev": "c0deab0effd576e70343cb5df0c64428e0e0d010",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -22,16 +22,16 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1683627095, "lastModified": 1684139381,
"narHash": "sha256-8u9SejRpL2TrMuHBdhYh4FKc1OGPDLyWTpIbNTtoHsA=", "narHash": "sha256-YPLMeYE+UzxxP0qbkBzv3RBDvyGR5I4d7v2n8dI3+fY=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "a08e061a4ee8329747d54ddf1566d34c55c895eb", "rev": "17a689596b72d1906883484838eb1aaf51ab8001",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "NixOS", "owner": "NixOS",
"ref": "nixos-22.11", "ref": "nixos-unstable",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }

View file

@ -2,7 +2,8 @@
description = "First stab at a flake for my system config"; description = "First stab at a flake for my system config";
inputs = { inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-22.11"; # nixpkgs.url = "github:NixOS/nixpkgs/nixos-22.11";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
home-manager.url = "github:nix-community/home-manager"; home-manager.url = "github:nix-community/home-manager";
home-manager.inputs.nixpkgs.follows = "nixpkgs"; home-manager.inputs.nixpkgs.follows = "nixpkgs";
}; };

View file

@ -21,33 +21,53 @@
programs.home-manager.enable = true; programs.home-manager.enable = true;
home.packages = with pkgs; [ home.packages = with pkgs; [
# texlive.combined.scheme-medium
# commandline
exa exa
mattermost-desktop
fzf fzf
isync
jq
khal
khard
libsecret
nnn nnn
nodejs jq
notmuch
pandoc
qutebrowser
rstudio
ruby
silver-searcher silver-searcher
tdesktop
tmux tmux
tree tree
vdirsyncer
keepassxc # messenger
zathura mattermost-desktop
zotero signal-desktop
openssl tdesktop
w3m element-desktop
whatsapp-for-linux
# email
msmtp msmtp
notmuch
isync
w3m
openssl
gnupg
# office
vdirsyncer
khal
khard
gnome.gnome-sound-recorder
# publishing
pandoc
libreoffice
zotero
zathura
# web
qutebrowser
# deveolopment
nodejs
ruby
# secrets
libsecret
keepassxc
]; ];
imports = [ imports = [
@ -56,6 +76,7 @@
./fish.nix ./fish.nix
./neomutt.nix ./neomutt.nix
./tex.nix ./tex.nix
./openconnect.nix
]; ];
home.shellAliases = { home.shellAliases = {

6
home/openconnect.nix Normal file
View file

@ -0,0 +1,6 @@
{ config, pkgs, ... }:
{
home.packages = [ pkgs.openconnect ];
xdg.configFile."openconnect/config".text = "lol";
}

View file

@ -2,8 +2,26 @@
let let
tex = (pkgs.texlive.combine { tex = (pkgs.texlive.combine {
inherit (pkgs.texlive) scheme-medium inherit (pkgs.texlive)
scheme-medium
arydshln
bbding
csquotes
environ
gensymb
lastpage
ly1
makecell
multirow
sourcesanspro sourcesanspro
tabu
tcolorbox
threeparttable
threeparttablex
was
wrapfig
xpatch
;
}); });
in in
{ # home-manager { # home-manager

View file

@ -29,6 +29,14 @@
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
nixpkgs.config.joypixels.acceptLicense = true; nixpkgs.config.joypixels.acceptLicense = true;
programs.gnupg.agent = {
enable = true;
pinentryFlavor = "curses";
# enableSSHSupport = true;
};
programs.fish.enable = true;
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
neovim neovim
wget wget