fully refactored stolen config :D
This commit is contained in:
parent
840cfef3d5
commit
0dd4f09001
39 changed files with 1603 additions and 206 deletions
66
hosts/vali/configuration.nix
Normal file
66
hosts/vali/configuration.nix
Normal file
|
@ -0,0 +1,66 @@
|
|||
{ config, inputs, pkgs, ... }:
|
||||
{
|
||||
time.timeZone = "Europe/Zurich";
|
||||
security.sudo.package = pkgs.sudo.override { withInsults = true; };
|
||||
security.polkit.enable = true;
|
||||
programs.kdeconnect.enable = true;
|
||||
myOptions = {
|
||||
other = {
|
||||
system = {
|
||||
hostname = "nixos";
|
||||
username = "vali";
|
||||
};
|
||||
home-manager = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
programs = {
|
||||
vesktop.enable = true;
|
||||
btop.enable = true;
|
||||
mpv.enable = true;
|
||||
neovim.enable = true;
|
||||
pipewire.enable = true;
|
||||
git = {
|
||||
enable = true;
|
||||
userName = "vali";
|
||||
userEmail = "valentin@kaas.cc";
|
||||
defaultBranch = "master";
|
||||
};
|
||||
starship.enable = true;
|
||||
zsh = {
|
||||
enable = true;
|
||||
profiling = false;
|
||||
};
|
||||
i3 = {
|
||||
|
||||
};
|
||||
};
|
||||
themes = {
|
||||
cursor = {
|
||||
enable = true;
|
||||
package = pkgs.bibabta.cursors;
|
||||
name = "Bibata-Modern-Classic";
|
||||
size = "24";
|
||||
};
|
||||
gtk = {
|
||||
enable = true;
|
||||
package = pkgs.catppuccin-gtk;
|
||||
name = "Catppuccin-Mocha-Standard-Green-Dark";
|
||||
variant = "mocha";
|
||||
accentColour = "green";
|
||||
iconTtheme = {
|
||||
name = "Papirus-Dark";
|
||||
package = pkgs.catppuccin-papirus-foldersM
|
||||
};
|
||||
};
|
||||
qt = {
|
||||
enable = true;
|
||||
package = pkgs.catppuccin-kde;
|
||||
name = "Catppuccin-Mocha-Dark"
|
||||
variant = "mocha";
|
||||
accentColour = "green";
|
||||
};
|
||||
};
|
||||
};
|
||||
system.stateVersion = "23.11";
|
||||
}
|
8
hosts/vali/default.nix
Normal file
8
hosts/vali/default.nix
Normal file
|
@ -0,0 +1,8 @@
|
|||
_: {
|
||||
imports = [
|
||||
./configuration.nix
|
||||
./programs.nix
|
||||
./hardware-configuration.nix
|
||||
./profile.nix
|
||||
]
|
||||
}
|
|
@ -1,11 +0,0 @@
|
|||
{ inputs, outputs, profile-config, pkgs, ... }:
|
||||
{
|
||||
boot.loader = {
|
||||
efi.canTouchEfiVariables = true;
|
||||
grub = {
|
||||
enable = true;
|
||||
efiSupport = true;
|
||||
device = "nodev";
|
||||
};
|
||||
};
|
||||
}
|
|
@ -1,16 +0,0 @@
|
|||
{ inputs, outputs, pks, lib, profile-config, ... }:
|
||||
{
|
||||
imports = [
|
||||
../../../modules/vali/default.nix
|
||||
../../common
|
||||
./hardware-configuration.nix
|
||||
./packages.nix
|
||||
./boot.nix
|
||||
];
|
||||
i3wm.enable = true;
|
||||
security.polkit.enable = true;
|
||||
# Set the keyboard layout to DE
|
||||
services.xserver.xkb.layout = "de";
|
||||
console.keyMap = "de";
|
||||
}
|
||||
|
|
@ -1,29 +0,0 @@
|
|||
{ inputs, outputs, pkgs, profile-config, ... }:
|
||||
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
jetbrains.idea-community
|
||||
ani-cli
|
||||
okular
|
||||
texliveFull
|
||||
signal-desktop
|
||||
nextcloud-client
|
||||
vlc
|
||||
strawberry
|
||||
telegram-desktop
|
||||
betterbird
|
||||
xclip
|
||||
pavucontrol
|
||||
lazygit
|
||||
vesktop
|
||||
zsh
|
||||
zoxide
|
||||
eza
|
||||
mpv
|
||||
librewolf
|
||||
keepassxc
|
||||
feh
|
||||
libreoffice
|
||||
openjdk
|
||||
];
|
||||
}
|
11
hosts/vali/profile.nix
Normal file
11
hosts/vali/profile.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
_: {
|
||||
imports = [
|
||||
../../options/boot/grub-boot.nix
|
||||
../../options/desktop/fonts.nix
|
||||
../../options/common/networking.nix
|
||||
../../options/common/gpu/nvidia.nix
|
||||
../../options/common/pin-registry.nix
|
||||
../../options/common/preserve-system.nix
|
||||
#../../options/
|
||||
];
|
||||
}
|
57
hosts/vali/programs.nix
Normal file
57
hosts/vali/programs.nix
Normal file
|
@ -0,0 +1,57 @@
|
|||
{ config, inputs, pkgs, ... }:
|
||||
let
|
||||
username = config.myOptions.other.system.usermame;
|
||||
in
|
||||
home-manager.users.${username} = {
|
||||
home.packages = let
|
||||
|
||||
in with pkgs; [
|
||||
git
|
||||
keepassxc
|
||||
eza ripgrep
|
||||
signal-desktop-beta
|
||||
element-desktop
|
||||
steam
|
||||
tor-browser-bundle-bin
|
||||
betterbird
|
||||
telegram-desktop
|
||||
libreoffice-fresh
|
||||
qbittorrent
|
||||
ventoy-full
|
||||
zip
|
||||
unzip
|
||||
gcc
|
||||
trash-cli
|
||||
bibata-cursors
|
||||
networkmanagerapplet
|
||||
xclip
|
||||
pamixer
|
||||
dig
|
||||
pcmanfm
|
||||
ffmpeg_6-full
|
||||
yt-dlp
|
||||
(fenix.complete.withComponents [
|
||||
"cargo"
|
||||
"clippy"
|
||||
"rust-src"
|
||||
"rustc"
|
||||
"rustfmt"
|
||||
])
|
||||
polkit
|
||||
asciinema
|
||||
fastfetch
|
||||
alsa-utils
|
||||
imagemagick
|
||||
pavucontrol
|
||||
gdb
|
||||
tree
|
||||
smartmontools
|
||||
krita
|
||||
python3
|
||||
rustdesk
|
||||
httpie
|
||||
sherlock
|
||||
strawberry
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue