remove home-manager files

old-yadm
earnest ma 2021-08-23 15:06:31 -04:00
parent 03394e276e
commit 1c63d52218
3 changed files with 0 additions and 88 deletions

View File

@ -1,20 +0,0 @@
{ pkgs, ... }:
let
pkgsUnstable = import <nixpkgs-unstable> {};
in
{
home.packages = with pkgs; [
authy
barrier
pkgsUnstable.discord
google-chrome
todoist-electron
pkgsUnstable.zoom-us
pkgsUnstable.logseq
sublime-music
alacritty
];
}

View File

@ -1,47 +0,0 @@
{ config, pkgs, lib, ... }:
let
inherit (lib) optionals;
hostName = import ./hostname.nix lib;
# Be able to use unstable packages
pkgsUnstable = import <nixpkgs-unstable> {};
in
{ # Required
programs.home-manager.enable = true;
home.username = "earne";
home.homeDirectory = "/home/earne";
imports =
(optionals (hostName == "tycho") [
./graphical.nix
]);
home.packages = with pkgs; [
# Doom Emacs + dependencies
pkgsUnstable.fd
pkgsUnstable.ripgrep
pkgsUnstable.emacs
aerc
isync
khard
gitFull
git-extras
ghq
pkgsUnstable.neovim
tmux
yadm
];
# This value determines the Home Manager release that your
# configuration is compatible with. This helps avoid breakage
# when a new Home Manager release introduces backwards
# incompatible changes.
#
# You can update Home Manager without changing this value. See
# the Home Manager release notes for a list of state version
# changes in each release.
home.stateVersion = "21.05";
}

View File

@ -1,21 +0,0 @@
lib:
let
inherit (builtins) currentSystem;
inherit (lib) maybeEnv fileContents;
inherit (lib.systems.elaborate { system = currentSystem; }) isLinux isDarwin;
in
maybeEnv "HOST" (fileContents (
if !isDarwin then
/etc/hostname
else
derivation {
name = "hostname";
system = currentSystem;
builder = "/bin/sh";
args = [ "-c" "/usr/sbin/scutil --get LocalHostName > $out" ];
}
))