laptop
This commit is contained in:
@@ -128,8 +128,10 @@
|
||||
};
|
||||
modules = [
|
||||
./users/kopatz.nix
|
||||
({ config, pkgs, ... }: { nixpkgs.overlays = [ overlay-unstable ]; })
|
||||
# Todo: refactor file layout
|
||||
./modules/graphical/gnome.nix
|
||||
./modules/graphical/shared.nix
|
||||
./laptop/configuration.nix
|
||||
./modules/virt-manager.nix
|
||||
./modules/ssh.nix
|
||||
@@ -139,6 +141,7 @@
|
||||
./modules/thunderbolt.nix
|
||||
./modules/rdp.nix
|
||||
./modules/tmpfs.nix
|
||||
./modules/nix/settings.nix
|
||||
nixos-hardware.nixosModules.dell-xps-15-7590-nvidia
|
||||
agenix.nixosModules.default
|
||||
home-manager.nixosModules.home-manager
|
||||
@@ -153,13 +156,17 @@
|
||||
};
|
||||
modules = [
|
||||
./users/kopatz.nix
|
||||
({ config, pkgs, ... }: { nixpkgs.overlays = [ overlay-unstable ]; })
|
||||
./laptop/configuration.nix
|
||||
./modules/graphical/gnome.nix
|
||||
./modules/graphical/shared.nix
|
||||
./modules/virt-manager.nix
|
||||
./modules/ssh.nix
|
||||
./modules/wake-on-lan.nix
|
||||
./modules/static-ip.nix
|
||||
./modules/no-sleep-lid-closed.nix
|
||||
./modules/thunderbolt.nix
|
||||
./modules/nix/settings.nix
|
||||
nixos-hardware.nixosModules.dell-xps-15-7590
|
||||
agenix.nixosModules.default
|
||||
home-manager.nixosModules.home-manager
|
||||
|
||||
@@ -3,16 +3,6 @@
|
||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||||
|
||||
{ config, pkgs, inputs, ... }:
|
||||
|
||||
let
|
||||
keepassWithPlugins = pkgs.keepass.override {
|
||||
plugins = [
|
||||
pkgs.keepass-keepassrpc
|
||||
];
|
||||
};
|
||||
|
||||
in
|
||||
|
||||
{
|
||||
imports =
|
||||
[ # Include the results of the hardware scan.
|
||||
@@ -24,9 +14,6 @@ in
|
||||
#<home-manager/nixos>
|
||||
];
|
||||
|
||||
# storage optimization
|
||||
nix.optimise.automatic = true;
|
||||
|
||||
# Bootloader.
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
@@ -83,76 +70,6 @@ in
|
||||
# Enable touchpad support (enabled default in most desktopManager).
|
||||
services.xserver.libinput.enable = true;
|
||||
|
||||
programs.steam = {
|
||||
enable = true;
|
||||
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
|
||||
dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server
|
||||
};
|
||||
|
||||
programs.kdeconnect.enable = true;
|
||||
|
||||
fonts.fontDir.enable = true;
|
||||
fonts.fonts = with pkgs; [
|
||||
nerdfonts
|
||||
#font-awesome
|
||||
];
|
||||
|
||||
networking.firewall = {
|
||||
enable = true;
|
||||
allowedTCPPortRanges = [
|
||||
{ from = 1714; to = 1764; } # KDE Connect
|
||||
];
|
||||
allowedUDPPortRanges = [
|
||||
{ from = 1714; to = 1764; } # KDE Connect
|
||||
];
|
||||
};
|
||||
|
||||
# Allow unfree packages
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
|
||||
# List packages installed in system profile. To search, run:
|
||||
# $ nix search wget
|
||||
environment.systemPackages = with pkgs; [
|
||||
# vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
|
||||
# wget
|
||||
wget
|
||||
nixos-option
|
||||
kate
|
||||
keepassWithPlugins
|
||||
jetbrains.idea-ultimate
|
||||
jetbrains.rider
|
||||
dotnet-sdk_7
|
||||
dotnet-runtime_7
|
||||
neovim
|
||||
htop
|
||||
btop
|
||||
git
|
||||
xfce.thunar
|
||||
killall
|
||||
xclip
|
||||
usbutils
|
||||
bun
|
||||
inputs.agenix.packages."x86_64-linux".default
|
||||
insomnia
|
||||
remmina
|
||||
nextcloud-client
|
||||
#podman-compose
|
||||
#arion # docker
|
||||
neofetch
|
||||
thunderbird
|
||||
rofi
|
||||
pdfgrep
|
||||
taisei
|
||||
ncdu
|
||||
localsend
|
||||
element-desktop
|
||||
];
|
||||
|
||||
environment.sessionVariables = {
|
||||
DOTNET_ROOT = "${pkgs.dotnet-sdk_7}";
|
||||
};
|
||||
|
||||
### docker
|
||||
virtualisation.docker.enable = true;
|
||||
|
||||
|
||||
@@ -36,7 +36,6 @@ in
|
||||
|
||||
# Allow unfree packages
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
|
||||
# List packages installed in system profile. To search, run:
|
||||
# $ nix search wget
|
||||
@@ -49,17 +48,13 @@ in
|
||||
keepassWithPlugins
|
||||
jetbrains.idea-ultimate
|
||||
jetbrains.rider
|
||||
dotnet-sdk_7
|
||||
dotnet-runtime_7
|
||||
neovim
|
||||
htop
|
||||
btop
|
||||
git
|
||||
xfce.thunar
|
||||
killall
|
||||
xclip
|
||||
usbutils
|
||||
bun
|
||||
inputs.agenix.packages."x86_64-linux".default
|
||||
insomnia
|
||||
remmina
|
||||
@@ -83,9 +78,9 @@ in
|
||||
vulkan-tools
|
||||
];
|
||||
|
||||
environment.sessionVariables = {
|
||||
DOTNET_ROOT = "${pkgs.dotnet-sdk_7}";
|
||||
};
|
||||
#environment.sessionVariables = {
|
||||
# DOTNET_ROOT = "${pkgs.dotnet-sdk_7}";
|
||||
#};
|
||||
|
||||
### docker
|
||||
virtualisation.docker.enable = true;
|
||||
|
||||
Reference in New Issue
Block a user