272 current 2024-12-04 04:35:32 24.11.20241123.0c58267 6.12.1 *
This commit is contained in:
parent
07948eefd3
commit
edc26b9646
16 changed files with 75 additions and 19 deletions
|
@ -7,14 +7,14 @@
|
||||||
# Main nix package repository
|
# Main nix package repository
|
||||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11";
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11";
|
||||||
|
|
||||||
# NixOS unstable channel
|
|
||||||
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
||||||
|
|
||||||
home-manager = {
|
home-manager = {
|
||||||
url = "github:nix-community/home-manager/release-24.11";
|
url = "github:nix-community/home-manager/release-24.11";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# NixOS unstable channel
|
||||||
|
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||||
|
|
||||||
# ready made hardware configurations. e.G.: Power saving
|
# ready made hardware configurations. e.G.: Power saving
|
||||||
nixos-hardware = {
|
nixos-hardware = {
|
||||||
url = "github:NixOS/nixos-hardware/master";
|
url = "github:NixOS/nixos-hardware/master";
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
{
|
{
|
||||||
pkgs,
|
pkgs,
|
||||||
inputs,
|
inputs,
|
||||||
|
modulesPath,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
networking.hostName = "crocoite"; # Define your hostname.
|
networking.hostName = "crocoite"; # Define your hostname.
|
||||||
|
@ -53,6 +54,9 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
|
# steam and other stuff seems to depend on perl
|
||||||
|
#"${modulesPath}/profiles/perlless.nix"
|
||||||
|
|
||||||
inputs.nix-flatpak.nixosModules.nix-flatpak
|
inputs.nix-flatpak.nixosModules.nix-flatpak
|
||||||
|
|
||||||
#nixos-hardware.nixosModules.lenovo-thinkpad-t14-amd-gen1
|
#nixos-hardware.nixosModules.lenovo-thinkpad-t14-amd-gen1
|
||||||
|
@ -74,6 +78,5 @@
|
||||||
../../modules/wm_and_de
|
../../modules/wm_and_de
|
||||||
|
|
||||||
../../modules/pkg_mgrmnt
|
../../modules/pkg_mgrmnt
|
||||||
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,6 +18,5 @@
|
||||||
location = "https://flathub.org/beta-repo/flathub-beta.flatpakrepo";
|
location = "https://flathub.org/beta-repo/flathub-beta.flatpakrepo";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,57 @@
|
||||||
{pkgs, ...}: {
|
{pkgs, ...}: {
|
||||||
programs.zsh.enable = true;
|
# everyone should use zsh xD
|
||||||
users.defaultUserShell = pkgs.zsh;
|
users.defaultUserShell = pkgs.zsh;
|
||||||
|
# Prevent the new user dialog in zsh
|
||||||
|
system.userActivationScripts.zshrc = "touch .zshrc";
|
||||||
|
|
||||||
|
programs.zsh = {
|
||||||
|
enable = true;
|
||||||
|
shellInit = ''
|
||||||
|
compinit () {
|
||||||
|
builtin autoload -XUz /run/current-system/sw/share/zsh/$ZSH_VERSION/functions
|
||||||
|
}
|
||||||
|
# config options to make zsh obey XDG base directory standard
|
||||||
|
ZDOTDIR=$HOME/.config/zsh
|
||||||
|
[ -d "$HOME"/.config/zsh ] || mkdir -p "$HOME"/.config/zsh
|
||||||
|
HISTFILE="$XDG_STATE_HOME"/zsh/history
|
||||||
|
# Completion files: Use XDG dirs
|
||||||
|
[ -d "$XDG_CACHE_HOME"/zsh ] || mkdir -p "$XDG_CACHE_HOME"/zsh
|
||||||
|
zstyle ':completion:*' cache-path "$XDG_CACHE_HOME"/zsh/zcompcache
|
||||||
|
compinit -d "$XDG_CACHE_HOME"/zsh/zcompdump-$ZSH_VERSION
|
||||||
|
|
||||||
|
# Note that to manually override this in ~/.zshrc you should run `prompt off`
|
||||||
|
# before setting your PS1 and etc. Otherwise this will likely to interact with
|
||||||
|
# your ~/.zshrc configuration in unexpected ways as the default prompt sets
|
||||||
|
# a lot of different prompt variables.
|
||||||
|
autoload -U promptinit && promptinit && prompt suse && setopt prompt_sp
|
||||||
|
|
||||||
|
HISTFILE=~/.histfile
|
||||||
|
HISTSIZE=1000
|
||||||
|
SAVEHIST=1000
|
||||||
|
|
||||||
|
# bindkey
|
||||||
|
bindkey -e
|
||||||
|
|
||||||
|
bindkey "\e[3~" delete-char
|
||||||
|
# Home- und End-Keys.
|
||||||
|
bindkey '\e[1~' beginning-of-line
|
||||||
|
bindkey '\e[4~' end-of-line
|
||||||
|
|
||||||
|
# to redo the initial zsh installation run these commands
|
||||||
|
#autoload -Uz zsh-newuser-install
|
||||||
|
#zsh-newuser-install -f
|
||||||
|
'';
|
||||||
|
|
||||||
|
ohMyZsh.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
programs.starship = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
add_newline = false;
|
||||||
|
};
|
||||||
|
presets = [
|
||||||
|
"jetpack"
|
||||||
|
];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -63,7 +63,7 @@
|
||||||
keepassxc
|
keepassxc
|
||||||
#minecraft
|
#minecraft
|
||||||
element-desktop
|
element-desktop
|
||||||
rustdesk
|
rustdesk-flutter
|
||||||
timer
|
timer
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -58,7 +58,8 @@
|
||||||
pamixer
|
pamixer
|
||||||
waybar
|
waybar
|
||||||
hyprpaper
|
hyprpaper
|
||||||
unstable.kanshi
|
#unstable.kanshi
|
||||||
|
shikane
|
||||||
dunst
|
dunst
|
||||||
|
|
||||||
# audio
|
# audio
|
||||||
|
|
Loading…
Add table
Reference in a new issue