scaled down laptop config
This commit is contained in:
parent
d6ce1fb1cc
commit
8462489991
1 changed files with 0 additions and 87 deletions
|
|
@ -3,14 +3,11 @@
|
||||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||||||
|
|
||||||
{
|
{
|
||||||
inputs,
|
|
||||||
config,
|
|
||||||
pkgs,
|
pkgs,
|
||||||
myhostname,
|
myhostname,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
theme = "mocha";
|
|
||||||
modulesDirectory = ../../moduler;
|
modulesDirectory = ../../moduler;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
|
@ -18,33 +15,15 @@ in
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
|
|
||||||
(modulesDirectory + /users.nix)
|
(modulesDirectory + /users.nix)
|
||||||
(modulesDirectory + /git.nix)
|
|
||||||
(modulesDirectory + /network.nix)
|
(modulesDirectory + /network.nix)
|
||||||
(modulesDirectory + /programs.nix)
|
|
||||||
(modulesDirectory + /system.nix)
|
(modulesDirectory + /system.nix)
|
||||||
(modulesDirectory + /dev.nix)
|
|
||||||
(modulesDirectory + /sound.nix)
|
|
||||||
|
|
||||||
(modulesDirectory + /services/base)
|
(modulesDirectory + /services/base)
|
||||||
(modulesDirectory + /services/webcam-rtsp)
|
(modulesDirectory + /services/webcam-rtsp)
|
||||||
|
|
||||||
(modulesDirectory + /programs/hyprland)
|
|
||||||
(modulesDirectory + /programs/kubernetes-tools.nix)
|
|
||||||
(modulesDirectory + /programs/confetti)
|
|
||||||
(modulesDirectory + /programs/nixvim)
|
|
||||||
];
|
];
|
||||||
|
|
||||||
kubernetes-tools.enable = true;
|
|
||||||
networking.networkmanager = {
|
networking.networkmanager = {
|
||||||
enable = true;
|
enable = true;
|
||||||
plugins = with pkgs; [
|
|
||||||
networkmanager-openvpn
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
stylix = {
|
|
||||||
enable = true;
|
|
||||||
base16Scheme = "${pkgs.base16-schemes}/share/themes/catppuccin-${theme}.yaml";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
webcam-rtsp = {
|
webcam-rtsp = {
|
||||||
|
|
@ -55,78 +34,12 @@ in
|
||||||
videoSize = "1280x720";
|
videoSize = "1280x720";
|
||||||
};
|
};
|
||||||
|
|
||||||
nixvim = {
|
|
||||||
enable = true;
|
|
||||||
theme = theme;
|
|
||||||
};
|
|
||||||
|
|
||||||
hyprland = {
|
|
||||||
enable = true;
|
|
||||||
theme = theme;
|
|
||||||
};
|
|
||||||
|
|
||||||
home-manager.extraSpecialArgs = { inherit inputs pkgs; };
|
|
||||||
home-manager.users.fw = {
|
|
||||||
imports = [
|
|
||||||
./../../moduler/home.nix
|
|
||||||
./../../moduler/programs/waybar
|
|
||||||
inputs.catppuccin.homeModules.catppuccin
|
|
||||||
];
|
|
||||||
waybar = {
|
|
||||||
enable = true;
|
|
||||||
configPath = ./../../moduler/programs/waybar/waybar-laptop.jsonc;
|
|
||||||
stylePath = ./../../moduler/programs/waybar/waybar-${theme}.css;
|
|
||||||
};
|
|
||||||
gtk = {
|
|
||||||
enable = true;
|
|
||||||
iconTheme = {
|
|
||||||
name = "oomox-gruvbox-dark";
|
|
||||||
package = pkgs.gruvbox-dark-icons-gtk;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
kitty = {
|
|
||||||
enable = true;
|
|
||||||
theme = theme;
|
|
||||||
};
|
|
||||||
fish = {
|
|
||||||
theme = theme;
|
|
||||||
};
|
|
||||||
k9s = {
|
|
||||||
enable = true;
|
|
||||||
theme = theme;
|
|
||||||
};
|
|
||||||
oh-my-posh = {
|
|
||||||
enable = true;
|
|
||||||
theme = theme;
|
|
||||||
};
|
|
||||||
catppuccin = {
|
|
||||||
librewolf = {
|
|
||||||
enable = true;
|
|
||||||
flavor = theme;
|
|
||||||
accent = "peach";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
programs.ranger.enable = true;
|
|
||||||
stylix.targets = {
|
|
||||||
lazygit.enable = false;
|
|
||||||
fish.enable = false;
|
|
||||||
kitty.enable = false;
|
|
||||||
waybar.enable = false;
|
|
||||||
tmux.enable = false;
|
|
||||||
k9s.enable = false;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
security.sudo.wheelNeedsPassword = false;
|
security.sudo.wheelNeedsPassword = false;
|
||||||
users.users.root.openssh.authorizedKeys.keys = [
|
users.users.root.openssh.authorizedKeys.keys = [
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAII60tdNsG0z9q2jHmoTKvkeLQE6OF0bmTsDX1bpqpoG7 fw@jobb"
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAII60tdNsG0z9q2jHmoTKvkeLQE6OF0bmTsDX1bpqpoG7 fw@jobb"
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFpJBGPIfPB1BwSG7aoKqwfccyZSaU7J3xpJ8behMp9N fw@core"
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFpJBGPIfPB1BwSG7aoKqwfccyZSaU7J3xpJ8behMp9N fw@core"
|
||||||
];
|
];
|
||||||
|
|
||||||
services.upower = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||||
|
|
||||||
networking.hostName = myhostname;
|
networking.hostName = myhostname;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue