This commit is contained in:
Varris 2022-08-09 14:29:24 +02:00
parent 9098e9552f
commit b33b4b234c
4 changed files with 37 additions and 16 deletions

View File

@ -2,27 +2,41 @@
description = "My personal dotfiles"; description = "My personal dotfiles";
inputs = { inputs = {
nixpkgs.url = "nixpkgs/nixos-unstable"; nixpkgs = {
url = "nixpkgs/nixos-unstable";
};
home-manager.url = "github:nix-community/home-manager"; home-manager = {
home-manager.inputs.nixpkgs.follows = "nixpkgs"; url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
nur.url = "github:nix-community/NUR"; nur = {
nur.inputs.nixpkgs.follows = "nixpkgs"; url = "github:nix-community/NUR";
inputs.nixpkgs.follows = "nixpkgs";
};
# Kakoune Plugins # Kakoune Plugins
kakoune-smarttab.url = "github:andreyorst/smarttab.kak"; kakoune-smarttab = {
kakoune-smarttab.flake = false; url = "github:andreyorst/smarttab.kak";
flake = false;
};
kakoune-auto-pairs.url = "github:alexherbo2/auto-pairs.kak"; kakoune-auto-pairs = {
kakoune-auto-pairs.flake = false; url = "github:alexherbo2/auto-pairs.kak";
flake = false;
};
kakoune-sort-selections.url = "github:occivink/kakoune-sort-selections"; kakoune-sort-selections = {
kakoune-sort-selections.flake = false; url = "github:occivink/kakoune-sort-selections";
flake = false;
};
# Kakoune Plugins End # Kakoune Plugins End
rofi-theme.url = "github:bardisty/gruvbox-rofi"; rofi-theme = {
rofi-theme.flake = false; url = "github:bardisty/gruvbox-rofi";
flake = false;
};
}; };
outputs = inputs@{ self, nixpkgs, home-manager, nur, ... }: outputs = inputs@{ self, nixpkgs, home-manager, nur, ... }:

View File

@ -42,7 +42,7 @@
nou = '' nou = ''
pushd &> /dev/null pushd &> /dev/null
cd "${config.home.homeDirectory}/.dotfiles" cd "${config.home.homeDirectory}/.dotfiles"
nix flake update --commit-lock-file nix flake lock --commit-lock-file
doas nixos-rebuild switch --upgrade --flake .# doas nixos-rebuild switch --upgrade --flake .#
popd &> /dev/null popd &> /dev/null
''; '';

View File

@ -82,7 +82,6 @@
main_window_color = "yellow"; main_window_color = "yellow";
visualizer_color = "default, yellow"; visualizer_color = "default, yellow";
header_window_color = "yellow"; header_window_color = "yellow";
}; };
}; };
services.mpdris2 = { services.mpdris2 = {

View File

@ -1,4 +1,4 @@
{ config, pkgs, ... }: { config, pkgs, inputs, ... }:
{ {
imports = [ imports = [
@ -98,6 +98,14 @@
music = "/mnt/hdd/Music"; music = "/mnt/hdd/Music";
download = "/mnt/hdd/Downloads"; download = "/mnt/hdd/Downloads";
}; };
xdg.mimeApps = {
enable = true;
defaultApplications = {
"inode/directory" = [ "thunar.desktop" ];
};
};
# This value determines the Home Manager release that your # This value determines the Home Manager release that your
# configuration is compatible with. This helps avoid breakage # configuration is compatible with. This helps avoid breakage
# when a new Home Manager release introduces backwards # when a new Home Manager release introduces backwards