From 9209a94b68156a27d99149e99e4e1aec954e92c2 Mon Sep 17 00:00:00 2001 From: fwastring Date: Mon, 27 Jan 2025 11:17:28 +0100 Subject: [PATCH] added another home --- config/home.nix | 1 - config/lill-home.nix | 157 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 157 insertions(+), 1 deletion(-) create mode 100644 config/lill-home.nix diff --git a/config/home.nix b/config/home.nix index 199dd51..8af7a0e 100644 --- a/config/home.nix +++ b/config/home.nix @@ -15,7 +15,6 @@ ../shared/rofi.nix ../shared/kitty.nix ../shared/alacritty.nix - ../shared/ranger.nix ../shared/tmux.nix ../shared/vim.nix ../shared/fish.nix diff --git a/config/lill-home.nix b/config/lill-home.nix new file mode 100644 index 0000000..8d02c6b --- /dev/null +++ b/config/lill-home.nix @@ -0,0 +1,157 @@ +# This is your home-manager configuration file +# Use this to configure your home environment (it replaces ~/.config/nixpkgs/home.nix) +{ + inputs, + lib, + config, + pkgs, + myhostname, + ... +}: { + imports = [ + ../shared/dwm.nix + ../shared/dmenu.nix + ../shared/kitty.nix + ../shared/alacritty.nix + ../shared/tmux.nix + ../shared/fish.nix + ../shared/git.nix + ../shared/nixpkgs.nix + ../shared/firefox.nix + ../shared/zathura.nix + ../shared/lazygit.nix + ../shared/ssh.nix + ../shared/oh-my-posh.nix + ]; + + nixpkgs = { + overlays = []; + config = { + allowUnfree = true; + allowUnfreePredicate = _: true; + }; + }; + + + home.packages = with pkgs; [ + # System + xsel + unzip + zip + wget + alsa-utils + upower + gcc + gnumake + cmake + arion + htop + pavucontrol + procps + openssh + networkmanager + fd + bat + bluez + bluez-tools + unstable.betterlockscreen + tmux + unstable.fzf + eza + btop + thttpd + xcolor + openssl + dig + jq + + # Dev + unstable.hugo + tailwindcss + nodejs_22 + go + + #Tools + qrencode + air + git + lazydocker + kubectl + + #LSP + roslyn + roslyn-ls + python312Packages.python-lsp-server + yaml-language-server + nil + jdt-language-server + texlab + marksman + nodePackages_latest.bash-language-server + typescript + nodePackages_latest.typescript-language-server + nodePackages_latest.vls + nodePackages_latest.volar + lua-language-server + tree-sitter + gopls + rust-analyzer + + # UI + pastel + imagemagick + + #VPN + openvpn + networkmanagerapplet + networkmanager-l2tp + strongswan + + # Display + scrot + xbanish + feh + brightnessctl + dunst + + # Documents + ripgrep + grc + # texliveFull + pandoc + poppler_utils + + #Desktop + unstable.feishin + firefox + unstable.signal-desktop + pinta + zathura + thunderbird + alacritty + unstable.neovim + fastfetch + lazygit + byzanz + remmina + + # Utils + speedcrunch + + #Unfree + discord + ]; + programs.home-manager.enable = true; + programs.fish.enable = true; + programs.man.generateCaches = false; + + xsession.enable = true; + xsession.windowManager.command = if myhostname == "laptop" then "/home/fw/nix/.xinitrc.laptop" else if myhostname == "jobb" then "/home/fw/nix/.xinitrc.jobb" else "/home/fw/nix/.xinitrc"; + + home.username = "fw"; + home.homeDirectory = "/home/fw"; + + home.stateVersion = "23.11"; # Did you read the comment? + + systemd.user.startServices = "sd-switch"; +}