Add home.nix
- Change default editor to vim - Add home.nix with some packages installed for the user - Remove dmenu, rofi, and kitty nix files
This commit is contained in:
@@ -72,7 +72,6 @@
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
vim
|
||||
wget
|
||||
zsh
|
||||
git
|
||||
|
72
profiles/personal/home.nix
Normal file
72
profiles/personal/home.nix
Normal file
@@ -0,0 +1,72 @@
|
||||
{ config, lib, pkgs, userSettings, ... }:
|
||||
|
||||
{
|
||||
# Home Manager needs a bit of information about you and the paths it should manage
|
||||
home.username = userSettings.username;
|
||||
home.homeDirectory = "/home/" + userSettings.username;
|
||||
|
||||
programs.home-manager.enable = true;
|
||||
|
||||
home.stateVersion = "23.11";
|
||||
|
||||
home.packages = (with pkgs; [
|
||||
# Shell / Terminal
|
||||
zsh
|
||||
kitty
|
||||
vim
|
||||
|
||||
# Browser
|
||||
vivaldi
|
||||
|
||||
# Launcher
|
||||
dmenu
|
||||
rofi
|
||||
|
||||
# Development
|
||||
git
|
||||
|
||||
# Utilities
|
||||
syncthing
|
||||
|
||||
# Office
|
||||
xournalpp
|
||||
|
||||
# Gaming
|
||||
wine
|
||||
bottles
|
||||
lutris
|
||||
protonup-qt
|
||||
|
||||
# Media
|
||||
gimp
|
||||
mpv
|
||||
blender
|
||||
obs-studio
|
||||
ffmpeg
|
||||
]);
|
||||
|
||||
services.syncthing.enable = true;
|
||||
|
||||
xdg.enable = true;
|
||||
xdg.userDirs = {
|
||||
enable = true;
|
||||
createDirectories = true;
|
||||
music = "${config.home.homeDirectory}/Media/Music";
|
||||
videos = "${config.home.homeDirectory}/Media/Videos";
|
||||
pictures = "${config.home.homeDirectory}/Media/Pictures";
|
||||
templates = "${config.home.homeDirectory}/Templates";
|
||||
download = "${config.home.homeDirectory}/Downloads";
|
||||
documents = "${config.home.homeDirectory}/Documents";
|
||||
desktop = null;
|
||||
publicShare = null;
|
||||
};
|
||||
xdg.mime.enable = true;
|
||||
xdg.mimeApps.enable = true;
|
||||
|
||||
home.sessionVariables = {
|
||||
EDITOR = userSettings.editor;
|
||||
SPAWNEDITOR = userSettings.spawnEditor;
|
||||
TERM = userSettings.term;
|
||||
BROWSER = userSettings.browser;
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user