mirror of
https://github.com/0x1d/nix.git
synced 2025-12-14 22:02:25 +01:00
initial commit
This commit is contained in:
6
os/system/i18n.nix
Normal file
6
os/system/i18n.nix
Normal file
@@ -0,0 +1,6 @@
|
||||
{ pkgs, ... }: {
|
||||
|
||||
time.timeZone = "Europe/Zurich";
|
||||
i18n.defaultLocale = "en_US.UTF-8";
|
||||
console.keyMap = "sg";
|
||||
}
|
||||
20
os/system/network.nix
Normal file
20
os/system/network.nix
Normal file
@@ -0,0 +1,20 @@
|
||||
{ pkgs, ... }: {
|
||||
|
||||
networking = {
|
||||
|
||||
hostName = "nixos";
|
||||
networkmanager.enable = true;
|
||||
|
||||
firewall = {
|
||||
enable = true;
|
||||
allowedTCPPortRanges = [
|
||||
{ from = 1714; to = 1764; } # KDE Connect
|
||||
];
|
||||
allowedUDPPortRanges = [
|
||||
{ from = 1714; to = 1764; } # KDE Connect
|
||||
];
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
21
os/system/packages.nix
Normal file
21
os/system/packages.nix
Normal file
@@ -0,0 +1,21 @@
|
||||
{ pkgs, ... }: {
|
||||
environment.systemPackages = with pkgs; [
|
||||
fd
|
||||
fzf
|
||||
ripgrep
|
||||
jq
|
||||
git
|
||||
gnumake
|
||||
pinentry
|
||||
vim
|
||||
gcc
|
||||
unzip
|
||||
wget
|
||||
plasma5Packages.bismuth
|
||||
kdeconnect
|
||||
firefox
|
||||
thunderbird
|
||||
remmina
|
||||
docker-buildx
|
||||
];
|
||||
}
|
||||
11
os/system/sound.nix
Normal file
11
os/system/sound.nix
Normal file
@@ -0,0 +1,11 @@
|
||||
{ pkgs, ... }: {
|
||||
sound.enable = true;
|
||||
hardware.pulseaudio.enable = false;
|
||||
security.rtkit.enable = true;
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
alsa.enable = true;
|
||||
alsa.support32Bit = true;
|
||||
pulse.enable = true;
|
||||
};
|
||||
}
|
||||
3
os/system/virtualisation.nix
Normal file
3
os/system/virtualisation.nix
Normal file
@@ -0,0 +1,3 @@
|
||||
{ pkgs, ... }: {
|
||||
virtualisation.docker.enable = true;
|
||||
}
|
||||
9
os/system/xserver.nix
Normal file
9
os/system/xserver.nix
Normal file
@@ -0,0 +1,9 @@
|
||||
{ pkgs, ... }: {
|
||||
services.xserver = {
|
||||
enable = true;
|
||||
layout = "ch";
|
||||
xkbVariant = "";
|
||||
displayManager.sddm.enable = true;
|
||||
desktopManager.plasma5.enable = true;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user