switch to unstable
This commit is contained in:
parent
45b7ba4fad
commit
306f80a078
3 changed files with 27 additions and 5 deletions
|
|
@ -2,8 +2,8 @@
|
||||||
description = "NixOS configuration";
|
description = "NixOS configuration";
|
||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.05/";
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable/";
|
||||||
home-manager.url = "github:nix-community/home-manager/release-25.05";
|
home-manager.url = "github:nix-community/home-manager";
|
||||||
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -115,6 +115,9 @@
|
||||||
shell = pkgs.zsh;
|
shell = pkgs.zsh;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.ollama.enable = true;
|
||||||
|
services.ollama.acceleration = "cuda";
|
||||||
|
|
||||||
# Enable automatic login for the user.
|
# Enable automatic login for the user.
|
||||||
services.displayManager.autoLogin.enable = true;
|
services.displayManager.autoLogin.enable = true;
|
||||||
services.displayManager.autoLogin.user = "xory";
|
services.displayManager.autoLogin.user = "xory";
|
||||||
|
|
@ -157,6 +160,17 @@
|
||||||
virtualisation.spiceUSBRedirection.enable = true;
|
virtualisation.spiceUSBRedirection.enable = true;
|
||||||
virtualisation.docker.enable = true;
|
virtualisation.docker.enable = true;
|
||||||
|
|
||||||
|
services = {
|
||||||
|
syncthing = {
|
||||||
|
enable = true;
|
||||||
|
group = "users";
|
||||||
|
user = "xory";
|
||||||
|
dataDir = "/home/xory/Sync"; # Default folder for new synced folders
|
||||||
|
configDir = "/home/xory/Sync/.config/syncthing"; # Folder for Syncthing's settings and keys
|
||||||
|
};
|
||||||
|
};
|
||||||
|
services.openssh.enable = true; # TODO: add key-based auth
|
||||||
|
|
||||||
# Some programs need SUID wrappers, can be configured further or are
|
# Some programs need SUID wrappers, can be configured further or are
|
||||||
# started in user sessions.
|
# started in user sessions.
|
||||||
# programs.mtr.enable = true;
|
# programs.mtr.enable = true;
|
||||||
|
|
@ -171,12 +185,13 @@
|
||||||
# services.openssh.enable = true;
|
# services.openssh.enable = true;
|
||||||
|
|
||||||
# Open ports in the firewall.
|
# Open ports in the firewall.
|
||||||
# networking.firewall.allowedTCPPorts = [ ... ];
|
networking.firewall.allowedTCPPorts = [ 8000 22000 ];
|
||||||
# networking.firewall.allowedUDPPorts = [ ... ];
|
networking.firewall.allowedUDPPorts = [ 8000 22000 21027 ];
|
||||||
# Or disable the firewall altogether.
|
# Or disable the firewall altogether.
|
||||||
# networking.firewall.enable = false;
|
# networking.firewall.enable = false;
|
||||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||||
|
|
||||||
|
|
||||||
# This value determines the NixOS release from which the default
|
# This value determines the NixOS release from which the default
|
||||||
# settings for stateful data, like file locations and database versions
|
# settings for stateful data, like file locations and database versions
|
||||||
# on your system were taken. It‘s perfectly fine and recommended to leave
|
# on your system were taken. It‘s perfectly fine and recommended to leave
|
||||||
|
|
|
||||||
|
|
@ -19,12 +19,18 @@
|
||||||
qbittorrent
|
qbittorrent
|
||||||
ffmpeg
|
ffmpeg
|
||||||
yt-dlp
|
yt-dlp
|
||||||
vesktop
|
|
||||||
prismlauncher
|
prismlauncher
|
||||||
|
(discord.override {
|
||||||
|
withOpenASAR = true;
|
||||||
|
withVencord = true;
|
||||||
|
})
|
||||||
keepassxc
|
keepassxc
|
||||||
obs-studio
|
obs-studio
|
||||||
mpv
|
mpv
|
||||||
kdePackages.kdenlive
|
kdePackages.kdenlive
|
||||||
|
gimp
|
||||||
|
inkscape
|
||||||
|
krita
|
||||||
distrobox
|
distrobox
|
||||||
screen
|
screen
|
||||||
arduino-ide
|
arduino-ide
|
||||||
|
|
@ -36,6 +42,7 @@
|
||||||
woeusb-ng
|
woeusb-ng
|
||||||
ntfs3g
|
ntfs3g
|
||||||
obsidian
|
obsidian
|
||||||
|
spotify
|
||||||
];
|
];
|
||||||
|
|
||||||
home.file = {
|
home.file = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue