1
0
Fork 0
This commit is contained in:
Lukas Wurzinger 2024-08-18 14:54:44 +02:00
parent 7b2a024010
commit 6375d98a74
53 changed files with 112 additions and 852 deletions

View file

@ -1,15 +0,0 @@
{
services.avahi = {
enable = true;
nssmdns4 = true;
nssmdns6 = true;
publish = {
enable = true;
addresses = true;
domain = true;
hinfo = true;
userServices = true;
workstation = true;
};
};
}

View file

@ -1,5 +1,5 @@
{
programs.bash. interactiveShellInit = ''
programs.bash.interactiveShellInit = ''
shopt -s autocd globstar failglob extglob checkwinsize
'';
}

View file

@ -1,22 +1,21 @@
{
imports = [
./bash.nix
./cnf.nix
./fish.nix
./boot.nix
./bottom.nix
./cnf.nix
./dbus.nix
./direnv.nix
./fs.nix
./fwupd.nix
./git.nix
./neovim.nix
./nix.nix
./readline.nix
./ssh.nix
./starship.nix
./sudo.nix
./swap.nix
./time.nix
./users.nix
];
}

View file

@ -1,15 +0,0 @@
{pkgs, ...}: {
programs.fish.enable = true;
users.defaultUserShell = pkgs.fish;
nixpkgs.overlays = [
(final: prev: {
fish = prev.fish.overrideAttrs (_: {
postInstall = ''
rm $out/share/applications/fish.desktop
'';
});
})
];
}

View file

@ -4,6 +4,7 @@
fileSystems = {
"/" = {
fsType = "ext4";
label = "main";
options = ["noatime"];
};
"/boot" = {

View file

@ -1,17 +0,0 @@
{
inputs,
lib,
pkgs,
...
}: {
environment = let
package = inputs.myvim.packages.${pkgs.system}.default.overrideAttrs (oldAttrs: {
postInstall = ''
rm $out/share/applications/nvim.desktop
'';
});
in {
systemPackages = [package];
variables = lib.genAttrs ["EDITOR" "VISUAL"] (_: lib.getExe package);
};
}

View file

@ -12,6 +12,7 @@
Control-a: beginning-of-line
Tab: menu-complete
"\e[Z": complete
set keymap vi-insert
Control-l: clear-screen
Control-a: beginning-of-line

3
common/time.nix Normal file
View file

@ -0,0 +1,3 @@
{
time.timeZone = "UTC";
}

View file

@ -2,6 +2,8 @@
age.secrets.user-lukas.file = ../secrets/user-lukas.age;
users = {
mutableUsers = false;
groups.lukas.gid = 1000;
users = {

View file

@ -1,3 +0,0 @@
{pkgs, ...}: {
environment.systemPackages = [pkgs.zellij];
}