Reorganize home
This commit is contained in:
parent
d32c230ed5
commit
a98fdd1ced
|
@ -1,6 +0,0 @@
|
|||
daemonize
|
||||
ignore-empty-password
|
||||
image=/home/artemis/.config/swaylock/xp.jpg
|
||||
indicator-caps-lock
|
||||
show-failed-attempts
|
||||
show-keyboard-layout
|
|
@ -9,19 +9,21 @@
|
|||
home-manager.users.artemis = { pkgs, ... }: {
|
||||
imports = [
|
||||
./git.nix
|
||||
./neovim
|
||||
];
|
||||
|
||||
xdg.enable = true;
|
||||
xdg.configFile = {
|
||||
"alacritty/alacritty.yml".source = ./alacritty.yml;
|
||||
"mpv/mpv.conf".source = ./mpv.conf;
|
||||
"alacritty/alacritty.yml".source = ./files/alacritty.yml;
|
||||
"mpv/mpv.conf".source = ./files/mpv.conf;
|
||||
"mimeapps.list".source = ./files/mimeapps.list;
|
||||
"swaylock/config".text = ''
|
||||
daemonize
|
||||
ignore-empty-password
|
||||
indicator-caps-lock
|
||||
show-failed-attempts
|
||||
show-keyboard-layout
|
||||
image=${./xp.jpg}
|
||||
image=${./files/xp.jpg}
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
14
home/files/mimeapps.list
Normal file
14
home/files/mimeapps.list
Normal file
|
@ -0,0 +1,14 @@
|
|||
[Default Applications]
|
||||
application/pdf=org.gnome.Evince.desktop
|
||||
application/xml=code.desktop
|
||||
audio/flac=mpv.desktop
|
||||
image/png=org.gnome.eog.desktop
|
||||
image/jpeg=org.gnome.eog.desktop
|
||||
text/html=firefox.desktop
|
||||
x-scheme-handler/about=firefox.desktop
|
||||
x-scheme-handler/discord-455712169795780630=discord-455712169795780630.desktop
|
||||
x-scheme-handler/http=firefox.desktop
|
||||
x-scheme-handler/https=firefox.desktop
|
||||
x-scheme-handler/steam=steam.desktop
|
||||
x-scheme-handler/unknown=firefox.desktop
|
||||
x-scheme-handler/zoommtg=us.zoom.Zoom.desktop
|
Before Width: | Height: | Size: 722 KiB After Width: | Height: | Size: 722 KiB |
|
@ -16,6 +16,7 @@
|
|||
transfer.fsckObjects = true;
|
||||
|
||||
advice.detachedHead = false;
|
||||
pull.rebase = true;
|
||||
format.signOff = true;
|
||||
init.defaultBranch = "canon";
|
||||
log.showSignature = true;
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
programs.neovim = {
|
||||
enable = true;
|
||||
vimAlias = true;
|
||||
defaultEditor = true;
|
||||
withNodeJs = true;
|
||||
configure = {
|
||||
customRC = builtins.readFile ./init.vim;
|
||||
packages.default.start = with pkgs.vimPlugins; [
|
||||
|
@ -27,11 +27,16 @@
|
|||
};
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
home.sessionVariables.EDITOR = "nvim";
|
||||
home.packages = with pkgs; [
|
||||
nixpkgs-fmt
|
||||
nodejs
|
||||
python3Packages.python-language-server
|
||||
rnix-lsp
|
||||
rust-analyzer
|
||||
];
|
||||
|
||||
xdg.configFile."nvim/coc-settings.json".text = builtins.toJSON {
|
||||
rust-analyzer.serverPath = "${pkgs.rust-analyzer}/bin/rust-analyzer";
|
||||
languageserver.nix = {
|
||||
command = "${pkgs.rnix-lsp}/bin/rnix-lsp";
|
||||
filetypes = [ "nix" ];
|
||||
};
|
||||
};
|
||||
}
|
|
@ -83,6 +83,7 @@ in
|
|||
libarchive
|
||||
lsof
|
||||
mercurialFull
|
||||
neovim
|
||||
nix-index
|
||||
openssl
|
||||
p7zip
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
./sway.nix
|
||||
./packages.nix
|
||||
./pipewire.nix
|
||||
./neovim
|
||||
../home
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in a new issue