restructure folders

This commit is contained in:
2024-03-03 12:35:44 +01:00
parent 2e7bcc32ca
commit 0ff29aca1a
5 changed files with 25 additions and 23 deletions

View File

@@ -1,19 +1,20 @@
{ config, lib, pkgs, ... }:
{
imports = [ # Include the results of the hardware scan.
./hardware-configuration.nix
];
# Include the results of the hardware scan.
imports = [ ./hardware-configuration.nix ];
# Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
};
networking.hostName = "eliasLaptop"; # Define your hostname.
# Pick only one of the below networking options.
#networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
networking.networkmanager.enable =
true; # Easiest to use and most distros use this by default.
# Define your hostname.
networking.hostName = "eliasLaptop";
# Use NetworkManager for networking.
networking.networkmanager.enable = true;
# Set your time zone.
time.timeZone = "Europe/Berlin";
@@ -68,17 +69,18 @@
};
environment.systemPackages = with pkgs; [
(libsForQt5.callPackage ./home/programs/catppuccin-sddm.nix { })
(libsForQt5.callPackage ./home/themes/catppuccin-sddm.nix { })
git
#neovim
wget
curl
alacritty
dmenu
];
# Enable zsh for setting it as shell for users.
programs.zsh.enable = true;
system.stateVersion = "23.11"; # Do not change!!!!
# Set stateVersion. Leave it as set.
system.stateVersion = "23.11";
}

View File

@@ -1,3 +1,5 @@
Zusatz:
- firefox Bookmarks neu
- obsidian vaults einrichten in home/programs/neovim/lua/plugins/obsidian.lua

View File

@@ -1,10 +1,7 @@
{ config, pkgs, ... }:
{
imports = [
./programs
./services
];
imports = [ ./programs ./services ];
home = {
username = "elias";
homeDirectory = "/home/elias";
@@ -28,9 +25,7 @@
firefox
#signal-desktop
#telegram-desktop
xfce.thunar
# zathura
xfce.xfconf
];
# environment.shells = [ pkgs.zsh ];

View File

@@ -3,8 +3,8 @@ return {
"epwalsh/obsidian.nvim",
lazy = true,
event = {
"BufReadPre " .. vim.fn.expand("~") .. "/Notes/**.md",
"BufNewFile " .. vim.fn.expand("~") .. "/Notes/**.md",
"BufReadPre " .. vim.fn.expand("~") .. "**.md",
"BufNewFile " .. vim.fn.expand("~") .. "**.md",
},
dependencies = {
"nvim-lua/plenary.nvim",
@@ -30,7 +30,10 @@ return {
},
},
})
function OpenMarkdownPreview(url)
execute "silent ! firefox --new-window " . a:url
endfunction
let g:mkdp_browserfunc = 'OpenMarkdownPreview'
end,
},
}