initial commit
This commit is contained in:
commit
d58ad9d46d
23 changed files with 3527 additions and 0 deletions
60
home/default.nix
Normal file
60
home/default.nix
Normal file
|
|
@ -0,0 +1,60 @@
|
|||
{config, pkgs, lib, inputs, vars, ...}:{
|
||||
imports = [
|
||||
#home-manager modules
|
||||
inputs.nix-index-database.hmModules.nix-index
|
||||
inputs.nvf.homeManagerModules.default
|
||||
inputs.catppuccin.homeManagerModules.catppuccin
|
||||
#aux files to make finding specific things easier
|
||||
./sway.nix
|
||||
./theming.nix
|
||||
./packages.nix #general user packages not managed by home-manager but i want to install via hm anyways
|
||||
];
|
||||
home = rec {
|
||||
username = "maya";
|
||||
homeDirectory = "/home/${username}"; #change this if you use a non-standard home dir
|
||||
stateVersion = "23.11";
|
||||
file = {
|
||||
".config/waybar/config".source = config.lib.file.mkOutOfStoreSymlink "${homeDirectory}/.config/nixos/home/waybar/config";
|
||||
".config/waybar/style.css".source = config.lib.file.mkOutOfStoreSymlink "${homeDirectory}/.config/nixos/home/waybar/style.css";
|
||||
};
|
||||
};
|
||||
programs.home-manager.enable = (if vars.isNixOS then false else true); #value is set in flake.nix
|
||||
programs.foot = {
|
||||
enable = true;
|
||||
settings.main.font = "monospace:size=10";
|
||||
settings.colors.alpha = "0.8";
|
||||
};
|
||||
programs.ncmpcpp = {
|
||||
enable = true;
|
||||
settings = {
|
||||
tags_separator = ";";
|
||||
};
|
||||
};
|
||||
services.mpd = {
|
||||
enable = true;
|
||||
musicDirectory = "/home/maya/Music"; #TODO: figure out not hardcoding this
|
||||
extraConfig = ''
|
||||
audio_output {
|
||||
type "pipewire"
|
||||
name "default pipewire"
|
||||
}
|
||||
'';
|
||||
};
|
||||
services.mpd-mpris = {
|
||||
enable = true;
|
||||
};
|
||||
programs.waybar = {
|
||||
enable = true;
|
||||
};
|
||||
programs.git = {
|
||||
enable = true;
|
||||
userName = "beanigen";
|
||||
userEmail = "beanigit@protonmail.com";
|
||||
extraConfig = {
|
||||
commit.gpgsign = true;
|
||||
gpg.format = "ssh";
|
||||
user.signingkey = "~/.ssh/id_ed25519.pub";
|
||||
init.defaultBranch = "main";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue