From ed2e709ec5aef4e3ebd92d0c5014970bd78410a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Wed, 15 Jun 2022 12:15:38 +0100 Subject: [PATCH] Upgrade darwin --- nixos/home-manager/cli.nix | 1 - nixos/home-manager/linux.nix | 1 + nixos/home-other-os.nix | 80 ------------------------------------ 3 files changed, 1 insertion(+), 81 deletions(-) delete mode 100644 nixos/home-other-os.nix diff --git a/nixos/home-manager/cli.nix b/nixos/home-manager/cli.nix index b0fc9de1..a699d5cc 100644 --- a/nixos/home-manager/cli.nix +++ b/nixos/home-manager/cli.nix @@ -44,7 +44,6 @@ sops ssh-to-age tmux - topgrade unzip wget whois diff --git a/nixos/home-manager/linux.nix b/nixos/home-manager/linux.nix index 6e5f6682..473395b9 100644 --- a/nixos/home-manager/linux.nix +++ b/nixos/home-manager/linux.nix @@ -11,6 +11,7 @@ lm_sensors nerdfonts powertop + topgrade wirelesstools ]; } diff --git a/nixos/home-other-os.nix b/nixos/home-other-os.nix deleted file mode 100644 index 70cc6fe9..00000000 --- a/nixos/home-other-os.nix +++ /dev/null @@ -1,80 +0,0 @@ -{ config, pkgs, ... }: - -let - unstableTarball = fetchTarball - "https://github.com/NixOS/nixpkgs/archive/nixpkgs-unstable.tar.gz"; - dotfiles = "/home/cyryl/dev/dotfiles"; -in { - home.username = "cyryl"; - home.homeDirectory = "/home/cyryl"; - home.stateVersion = "21.11"; - - nixpkgs.config = { - allowUnfree = true; - packageOverrides = pkgs: { - unstable = import unstableTarball { inherit (config.nixpkgs) config; }; - }; - }; - - home.sessionVariables = { LOCALE_ARCHIVE = /usr/lib/locale/locale-archive; }; - - targets.genericLinux.enable = true; - home.file.".gitconfig".source = ~/dev/dotfiles/.gitconfig.linux.form3; - - imports = [ - ./git/home.nix - ./home-manager/programs/tmux.nix - ./home-manager/links.nix - ./home-manager/programs/vim.nix - ./home-manager/programs/zsh.nix - ]; - programs = { - home-manager.enable = true; - - z-lua = { - enable = true; - enableAliases = true; - enableBashIntegration = true; - enableZshIntegration = true; - }; - - gpg = { - enable = true; - settings = { }; - }; - taskwarrior.enable = true; - fzf.enable = true; - go.enable = true; - bat.enable = true; - lsd.enable = true; - lsd.enableAliases = true; - }; - home.packages = with pkgs; [ - aria - bfg-repo-cleaner - curl - dnsutils - docker-compose - du-dust - fd - file - fontconfig - git - hsetroot - htop - imagemagick - jmtpfs - jq - nixpkgs-fmt - ripgrep - rustup - terraform - tmux - unstable.exercism - unstable.genpass - unstable.topgrade - unzip - wget - whois - ]; -}