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";
inputs = {
nixpkgs.url = "nixpkgs/nixos-unstable";
nixpkgs = {
url = "nixpkgs/nixos-unstable";
};
home-manager.url = "github:nix-community/home-manager";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
nur.url = "github:nix-community/NUR";
nur.inputs.nixpkgs.follows = "nixpkgs";
nur = {
url = "github:nix-community/NUR";
inputs.nixpkgs.follows = "nixpkgs";
};
# Kakoune Plugins
kakoune-smarttab.url = "github:andreyorst/smarttab.kak";
kakoune-smarttab.flake = false;
kakoune-smarttab = {
url = "github:andreyorst/smarttab.kak";
flake = false;
};
kakoune-auto-pairs.url = "github:alexherbo2/auto-pairs.kak";
kakoune-auto-pairs.flake = false;
kakoune-auto-pairs = {
url = "github:alexherbo2/auto-pairs.kak";
flake = false;
};
kakoune-sort-selections.url = "github:occivink/kakoune-sort-selections";
kakoune-sort-selections.flake = false;
kakoune-sort-selections = {
url = "github:occivink/kakoune-sort-selections";
flake = false;
};
# Kakoune Plugins End
rofi-theme.url = "github:bardisty/gruvbox-rofi";
rofi-theme.flake = false;
rofi-theme = {
url = "github:bardisty/gruvbox-rofi";
flake = false;
};
};
outputs = inputs@{ self, nixpkgs, home-manager, nur, ... }:

View File

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

View File

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

View File

@ -1,4 +1,4 @@
{ config, pkgs, ... }:
{ config, pkgs, inputs, ... }:
{
imports = [
@ -98,6 +98,14 @@
music = "/mnt/hdd/Music";
download = "/mnt/hdd/Downloads";
};
xdg.mimeApps = {
enable = true;
defaultApplications = {
"inode/directory" = [ "thunar.desktop" ];
};
};
# 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