Merge branch 'main' of ktiu.net:omniflake
This commit is contained in:
commit
dfd922de0a
8 changed files with 22 additions and 75 deletions
74
home/alt.nix
Normal file
74
home/alt.nix
Normal file
|
|
@ -0,0 +1,74 @@
|
|||
{ config, pkgs, inputs, lib, ... }:
|
||||
|
||||
{
|
||||
home.username = "alt";
|
||||
home.homeDirectory = "/home/alt";
|
||||
home.stateVersion = "22.11";
|
||||
|
||||
nixpkgs = {
|
||||
config = {
|
||||
allowUnfree = true;
|
||||
allowUnfreePredicate = (_: true);
|
||||
};
|
||||
};
|
||||
|
||||
programs.home-manager.enable = true;
|
||||
|
||||
xdg.userDirs = {
|
||||
enable = true;
|
||||
createDirectories = true;
|
||||
download = "${config.home.homeDirectory}/tmp";
|
||||
music = "${config.home.homeDirectory}/media/music";
|
||||
pictures = "${config.home.homeDirectory}/media/img";
|
||||
videos = "${config.home.homeDirectory}/media/vid";
|
||||
documents = "${config.home.homeDirectory}/misc";
|
||||
templates = "${config.xdg.dataHome}/templates";
|
||||
};
|
||||
|
||||
home.file.".npmrc".text = ''
|
||||
prefix = ${config.xdg.dataHome}/npm/packages
|
||||
'';
|
||||
|
||||
home.packages = with pkgs; [
|
||||
|
||||
# commandline
|
||||
fzf
|
||||
nnn
|
||||
jq
|
||||
progress
|
||||
silver-searcher
|
||||
tmux
|
||||
wl-clipboard
|
||||
|
||||
firefox
|
||||
qbittorrent
|
||||
vlc
|
||||
mullvad-vpn
|
||||
|
||||
];
|
||||
|
||||
imports = [
|
||||
./desktop
|
||||
./alias.nix
|
||||
];
|
||||
|
||||
programs.nix-index = {
|
||||
enable = true;
|
||||
enableFishIntegration = true;
|
||||
};
|
||||
|
||||
programs.git = {
|
||||
enable = true;
|
||||
userName = "Till";
|
||||
userEmail = "till@ktiu.net";
|
||||
lfs = {
|
||||
enable = true;
|
||||
};
|
||||
extraConfig = {
|
||||
init = {
|
||||
defaultBranch = "main";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
|
@ -13,6 +13,15 @@
|
|||
"run-or-raise@edvard.cz"
|
||||
];
|
||||
};
|
||||
"org/gnome/desktop/peripherals/touchpad" = {
|
||||
speed = 0.5;
|
||||
};
|
||||
"org/gnome/mutter" = {
|
||||
dynamic-workspaces = true;
|
||||
};
|
||||
"org/gnome/desktop/session" = {
|
||||
idle-delay = 600;
|
||||
};
|
||||
};
|
||||
xdg.configFile."run-or-raise/shortcuts.conf".source = ./run-or-raise.conf;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -36,8 +36,8 @@
|
|||
};
|
||||
};
|
||||
profiles = {
|
||||
till = {
|
||||
name = "till";
|
||||
${config.home.username} = {
|
||||
name = config.home.username;
|
||||
isDefault = true;
|
||||
extensions = with pkgs.nur.repos.rycee.firefox-addons; [
|
||||
ublock-origin
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue