udpate laptop config
This commit is contained in:
@@ -56,5 +56,14 @@ in
|
|||||||
rofi-wayland
|
rofi-wayland
|
||||||
libnotify
|
libnotify
|
||||||
networkmanagerapplet
|
networkmanagerapplet
|
||||||
|
wayland
|
||||||
|
#qt5.qtwayland
|
||||||
|
#qt6.qmake
|
||||||
|
#qt6.qtwayland
|
||||||
|
#waybar
|
||||||
|
#xdg-desktop-portal-hyprland
|
||||||
|
#xdg-desktop-portal-gtk
|
||||||
|
#xdg-utils
|
||||||
|
#xwayland
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
68
main.nix
68
main.nix
@@ -16,10 +16,16 @@ in
|
|||||||
{
|
{
|
||||||
imports =
|
imports =
|
||||||
[ # Include the results of the hardware scan.
|
[ # Include the results of the hardware scan.
|
||||||
<nixos-hardware/dell/xps/15-7590/nvidia>
|
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
|
## -- set in flake.nix
|
||||||
|
#<nixos-hardware/dell/xps/15-7590/nvidia>
|
||||||
|
#<home-manager/nixos>
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# storage optimization
|
||||||
|
nix.optimise.automatic = true;
|
||||||
|
|
||||||
|
|
||||||
# Bootloader.
|
# Bootloader.
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
@@ -34,6 +40,11 @@ in
|
|||||||
# Enable networking
|
# Enable networking
|
||||||
networking.networkmanager.enable = true;
|
networking.networkmanager.enable = true;
|
||||||
|
|
||||||
|
networking.extraHosts =
|
||||||
|
''
|
||||||
|
82.218.12.28 kopatz.ddns.net
|
||||||
|
'';
|
||||||
|
|
||||||
# Set your time zone.
|
# Set your time zone.
|
||||||
time.timeZone = "Europe/Vienna";
|
time.timeZone = "Europe/Vienna";
|
||||||
|
|
||||||
@@ -88,9 +99,20 @@ in
|
|||||||
discord
|
discord
|
||||||
librewolf
|
librewolf
|
||||||
ungoogled-chromium
|
ungoogled-chromium
|
||||||
|
evolution-ews
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# home manager
|
||||||
|
#home-manager.useGlobalPkgs = true;
|
||||||
|
|
||||||
|
# home-manager.users.kopatz = { pkgs, ... }: {
|
||||||
|
|
||||||
|
# The state version is required and should stay at the version you
|
||||||
|
# originally installed.
|
||||||
|
# system.stateVersion = "23.05";
|
||||||
|
#};
|
||||||
|
|
||||||
programs.steam = {
|
programs.steam = {
|
||||||
enable = true;
|
enable = true;
|
||||||
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
|
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
|
||||||
@@ -102,7 +124,7 @@ in
|
|||||||
fonts.fontDir.enable = true;
|
fonts.fontDir.enable = true;
|
||||||
fonts.fonts = with pkgs; [
|
fonts.fonts = with pkgs; [
|
||||||
nerdfonts
|
nerdfonts
|
||||||
font-awesome
|
#font-awesome
|
||||||
];
|
];
|
||||||
|
|
||||||
networking.firewall = {
|
networking.firewall = {
|
||||||
@@ -131,37 +153,47 @@ in
|
|||||||
jetbrains.idea-ultimate
|
jetbrains.idea-ultimate
|
||||||
jetbrains.rider
|
jetbrains.rider
|
||||||
dotnet-sdk_7
|
dotnet-sdk_7
|
||||||
|
dotnet-runtime_7
|
||||||
neovim
|
neovim
|
||||||
htop
|
htop
|
||||||
git
|
git
|
||||||
xfce.thunar
|
xfce.thunar
|
||||||
wpaperd
|
|
||||||
swww
|
|
||||||
wayland
|
|
||||||
killall
|
killall
|
||||||
xclip
|
xclip
|
||||||
usbutils
|
usbutils
|
||||||
|
bun
|
||||||
|
insomnia
|
||||||
|
#podman-compose
|
||||||
#arion # docker
|
#arion # docker
|
||||||
#hyprland
|
|
||||||
#hyprpaper
|
|
||||||
#hyprpicker
|
|
||||||
#gtk3
|
|
||||||
neofetch
|
neofetch
|
||||||
#qt5.qtwayland
|
|
||||||
#qt6.qmake
|
|
||||||
#qt6.qtwayland
|
|
||||||
#waybar
|
|
||||||
#xdg-desktop-portal-hyprland
|
|
||||||
#xdg-desktop-portal-gtk
|
|
||||||
#xdg-utils
|
|
||||||
#xwayland
|
|
||||||
];
|
];
|
||||||
|
|
||||||
|
environment.sessionVariables = {
|
||||||
|
DOTNET_ROOT = "${pkgs.dotnet-sdk_7}";
|
||||||
|
};
|
||||||
|
|
||||||
### docker
|
### docker
|
||||||
virtualisation.docker.enable = true;
|
virtualisation.docker.enable = true;
|
||||||
|
|
||||||
|
## podman
|
||||||
|
#virtualisation = {
|
||||||
|
# podman = {
|
||||||
|
# enable = false;
|
||||||
|
|
||||||
|
# Create a `docker` alias for podman, to use it as a drop-in replacement
|
||||||
|
#dockerCompat = true;
|
||||||
|
|
||||||
|
# Required for containers under podman-compose to be able to talk to each other.
|
||||||
|
# defaultNetwork.settings.dns_enabled = true;
|
||||||
|
# For Nixos version > 22.11
|
||||||
|
#defaultNetwork.settings = {
|
||||||
|
# dns_enabled = true;
|
||||||
|
#};
|
||||||
|
# };
|
||||||
|
#};
|
||||||
|
|
||||||
systemd.tmpfiles.rules = [
|
systemd.tmpfiles.rules = [
|
||||||
"d /docker-data 0755 kopatz docker"
|
"d /docker-data 0755 kopatz users"
|
||||||
];
|
];
|
||||||
|
|
||||||
#virtualisation.oci-containers.containers.mssql = {
|
#virtualisation.oci-containers.containers.mssql = {
|
||||||
|
|||||||
Reference in New Issue
Block a user