Compare commits
2 Commits
57195084d8
...
b7e82d92c9
| Author | SHA1 | Date | |
|---|---|---|---|
| b7e82d92c9 | |||
| ca06b70683 |
@@ -41,6 +41,9 @@ in
|
||||
'';
|
||||
};
|
||||
|
||||
services.rpcbind.enable = true;
|
||||
boot.supportedFilesystems = [ "nfs" ];
|
||||
|
||||
services.dbus.packages = with pkgs; [
|
||||
gsettings-desktop-schemas
|
||||
];
|
||||
@@ -53,6 +56,10 @@ in
|
||||
}
|
||||
];
|
||||
|
||||
networking.hosts = {
|
||||
#"192.168.1.165" = [ "walruslab.org" ];
|
||||
};
|
||||
|
||||
services.netbird.enable = true;
|
||||
|
||||
# Enable NAT so the container can reach the Debian repos
|
||||
@@ -64,7 +71,7 @@ in
|
||||
|
||||
services.resolved = {
|
||||
enable = true;
|
||||
dnssec = "false";
|
||||
settings.Resolve.DNSSEC = "false";
|
||||
};
|
||||
networking.nameservers = [
|
||||
"1.1.1.1"
|
||||
@@ -184,6 +191,7 @@ in
|
||||
isNormalUser = true;
|
||||
extraGroups = [
|
||||
"wheel"
|
||||
"input"
|
||||
"incus-admin"
|
||||
"wireshark"
|
||||
"podman"
|
||||
@@ -210,7 +218,7 @@ in
|
||||
# List packages installed in system profile.
|
||||
# You can use https://search.nixos.org/ to find more packages (and options).
|
||||
environment.systemPackages = with pkgs; [
|
||||
openmodelica
|
||||
#openmodelica
|
||||
vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
|
||||
pkg-config
|
||||
wget
|
||||
|
||||
26
flake.lock
generated
26
flake.lock
generated
@@ -77,11 +77,11 @@
|
||||
"rust-overlay": "rust-overlay"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1748906842,
|
||||
"narHash": "sha256-KWpXXXciUDJp2DitQWT8MNzhECBuHA2SRPz51t0bZG0=",
|
||||
"lastModified": 1778551011,
|
||||
"narHash": "sha256-woJV7tJwwzjR0xWDNuGpwMENe/OEMAdSGg+nqWs9tUE=",
|
||||
"owner": "helix-editor",
|
||||
"repo": "helix",
|
||||
"rev": "1ea9050a5e12a1bc3eeb4b81022f427688c5ffa9",
|
||||
"rev": "8c41b11607924f7584b77c8a6e6b16439a2f559f",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -448,11 +448,11 @@
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1740560979,
|
||||
"narHash": "sha256-Vr3Qi346M+8CjedtbyUevIGDZW8LcA1fTG0ugPY/Hic=",
|
||||
"lastModified": 1775036866,
|
||||
"narHash": "sha256-ZojAnPuCdy657PbTq5V0Y+AHKhZAIwSIT2cb8UgAz/U=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "5135c59491985879812717f4c9fea69604e7f26f",
|
||||
"rev": "6201e203d09599479a3b3450ed24fa81537ebc4e",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -480,16 +480,16 @@
|
||||
},
|
||||
"nixpkgs_3": {
|
||||
"locked": {
|
||||
"lastModified": 1767634882,
|
||||
"narHash": "sha256-2GffSfQxe3sedHzK+sTKlYo/NTIAGzbFCIsNMUPAAnk=",
|
||||
"lastModified": 1778869304,
|
||||
"narHash": "sha256-30sZNZoA1cqF5JNO9fVX+wgiQYjB7HJqqJ4ztCDeBZE=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "3c9db02515ef1d9b6b709fc60ba9a540957f661c",
|
||||
"rev": "d233902339c02a9c334e7e593de68855ad26c4cb",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"ref": "nixos-25.11",
|
||||
"ref": "nixos-unstable",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
@@ -534,11 +534,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1740623427,
|
||||
"narHash": "sha256-3SdPQrZoa4odlScFDUHd4CUPQ/R1gtH4Mq9u8CBiK8M=",
|
||||
"lastModified": 1775358767,
|
||||
"narHash": "sha256-f2eC+WIfhjevCPQILuV08i/kmKZzYZpUvkom/33VxCA=",
|
||||
"owner": "oxalica",
|
||||
"repo": "rust-overlay",
|
||||
"rev": "d342e8b5fd88421ff982f383c853f0fc78a847ab",
|
||||
"rev": "20fd44bc663daa53a2575e01293e24e681d62244",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
description = "A simple NixOS flake";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11";
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
helix.url = "github:helix-editor/helix/master";
|
||||
home-manager = {
|
||||
url = "github:nix-community/home-manager/release-25.11";
|
||||
|
||||
@@ -52,7 +52,8 @@
|
||||
"hid_apple.fnmode" = 2;
|
||||
"net.ipv4.ip_unprivileged_port_start" = 80;
|
||||
"kernel.split_lock_mitigate" = 0;
|
||||
"fs.inotify.max_user_watches" = 524288;
|
||||
"fs.inotify.max_user_watches" = 1048576;
|
||||
"fs.inotify.max_user_instances" = 512;
|
||||
};
|
||||
|
||||
fileSystems."/" = {
|
||||
@@ -119,4 +120,6 @@
|
||||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
|
||||
hardware.nvidia-container-toolkit.enable = true;
|
||||
}
|
||||
|
||||
2
home.nix
2
home.nix
@@ -37,7 +37,7 @@
|
||||
games = import ./pkgs/games.nix { inherit pkgs; };
|
||||
unstable = import (builtins.fetchTarball {
|
||||
url = "https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz";
|
||||
sha256 = "1ijgd8hy1ii0k0s48yhnzw09c7zdjnp1fq8wfj7jgajwmlfwy3xg";
|
||||
sha256 = "1485vqhb8cwym1m75v61i10j427vazszaklkwj2wmm80k8sijjyz";
|
||||
}) { system = "x86_64-linux"; };
|
||||
unstables = import ./pkgs/unstable.nix {
|
||||
inherit pkgs;
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
enable = true;
|
||||
enableCompletion = true;
|
||||
initExtra = ''
|
||||
export PATH="$HOME/.local/bin:$PATH"
|
||||
export PATH="$HOME/.cargo/bin:$HOME/.local/bin:$PATH"
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
||||
@@ -4,12 +4,14 @@
|
||||
c = "clear";
|
||||
rb = "sudo nixos-rebuild switch --flake ~/nixos-config#";
|
||||
"boot-rb" = "sudo nixos-rebuild --install-bootloader boot --flake ~/nixos-config#";
|
||||
clc = "cloc . --exclude-dir=target,node_modules,.venv --exclude-ext=yml,yaml,csv -v";
|
||||
clc = "cloc . --vcs git -v";
|
||||
"dry-rb" = "sudo nixos-rebuild dry-build --flake ~/nixos-config#";
|
||||
devim = "NVIM_APPNAME=nvim-dev nvim";
|
||||
win = "grub-reboot 'Windows Boot Manager (on /dev/sda2)' && reboot";
|
||||
|
||||
qwer = "reboot";
|
||||
zxcv = "shutdown now";
|
||||
|
||||
lg = "lazygit";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -19,6 +19,8 @@
|
||||
if test -f $HOME/.config/fish/kube.fish
|
||||
source $HOME/.config/fish/kube.fish
|
||||
end
|
||||
|
||||
fish_add_path $HOME/.cargo/bin
|
||||
fish_add_path /usr/bin
|
||||
'';
|
||||
}
|
||||
|
||||
|
||||
@@ -11,6 +11,8 @@
|
||||
init.defaultBranch = "main";
|
||||
core.editor = "nvim";
|
||||
push.autoSetupRemote = true;
|
||||
push.followTags = true;
|
||||
};
|
||||
lfs.enable = true;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{ pkgs }:
|
||||
|
||||
with pkgs; [
|
||||
with pkgs;
|
||||
[
|
||||
alsa-lib
|
||||
libgit2
|
||||
at-spi2-atk
|
||||
@@ -46,24 +47,26 @@ with pkgs; [
|
||||
pipewire
|
||||
systemd
|
||||
vulkan-loader
|
||||
xorg.libX11
|
||||
xorg.libXScrnSaver
|
||||
xorg.libXcomposite
|
||||
xorg.libXcursor
|
||||
xorg.libXdamage
|
||||
xorg.libXext
|
||||
xorg.libXfixes
|
||||
xorg.libXi
|
||||
xorg.libXrandr
|
||||
xorg.libXrender
|
||||
xorg.libXtst
|
||||
xorg.libxcb
|
||||
xorg.libxkbfile
|
||||
xorg.libxshmfence
|
||||
libx11
|
||||
libxscrnsaver
|
||||
libxcomposite
|
||||
libxcursor
|
||||
libxdamage
|
||||
libxext
|
||||
libxfixes
|
||||
libxi
|
||||
libxrandr
|
||||
libxrender
|
||||
libxtst
|
||||
libxcb
|
||||
libxkbfile
|
||||
libxshmfence
|
||||
zlib
|
||||
zlib.dev
|
||||
pkg-config
|
||||
haskellPackages.zlib
|
||||
stdenv.cc.cc
|
||||
imagemagick
|
||||
|
||||
steam-unwrapped
|
||||
]
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
with pkgs;
|
||||
[ flightgear ]
|
||||
[
|
||||
flightgear
|
||||
alvr
|
||||
]
|
||||
|
||||
@@ -29,9 +29,11 @@ with pkgs;
|
||||
pynvim
|
||||
wand
|
||||
ipykernel
|
||||
shapely
|
||||
scipy
|
||||
pip
|
||||
]
|
||||
))
|
||||
python313Packages.pip
|
||||
nodejs
|
||||
go
|
||||
ninja
|
||||
|
||||
@@ -8,6 +8,7 @@ with pkgs;
|
||||
google-chrome
|
||||
speed-cloudflare-cli
|
||||
ansible
|
||||
ansible-lint
|
||||
vagrant
|
||||
gqrx
|
||||
libreoffice
|
||||
@@ -23,12 +24,12 @@ with pkgs;
|
||||
qbittorrent
|
||||
gmsh
|
||||
paraview
|
||||
xorg.xcursorgen
|
||||
xcursorgen
|
||||
imagemagick
|
||||
icoutils
|
||||
win2xcur
|
||||
waypaper
|
||||
swww
|
||||
awww
|
||||
sdrpp
|
||||
rofi
|
||||
hyprshot
|
||||
@@ -36,7 +37,7 @@ with pkgs;
|
||||
discordo
|
||||
distrobox
|
||||
kicad
|
||||
youtube-music
|
||||
pear-desktop
|
||||
thunderbird
|
||||
yt-dlp
|
||||
stellarium
|
||||
@@ -73,4 +74,9 @@ with pkgs;
|
||||
iaito
|
||||
orca-slicer
|
||||
netbird-ui
|
||||
sonic-visualiser
|
||||
|
||||
freecad
|
||||
|
||||
lmms
|
||||
]
|
||||
|
||||
@@ -3,4 +3,5 @@
|
||||
{ pkgs, unstable, ... }:
|
||||
|
||||
with pkgs;
|
||||
[ ]
|
||||
[
|
||||
]
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
with pkgs;
|
||||
[
|
||||
neofetch
|
||||
fastfetch
|
||||
nnn # terminal file manager
|
||||
nushell
|
||||
|
||||
@@ -113,4 +113,39 @@ with pkgs;
|
||||
browsh
|
||||
kdePackages.qt6ct
|
||||
kitty
|
||||
axel
|
||||
stlink
|
||||
sysdig
|
||||
cilium-cli
|
||||
|
||||
emacs
|
||||
emacsPackages.doom
|
||||
|
||||
nfs-utils
|
||||
|
||||
openvswitch
|
||||
virt-viewer
|
||||
patchelf
|
||||
|
||||
velero
|
||||
|
||||
rpi-imager
|
||||
|
||||
fluxcd-operator
|
||||
|
||||
vault
|
||||
|
||||
msitools
|
||||
|
||||
age
|
||||
|
||||
(llm.withPlugins {
|
||||
llm-ollama = true;
|
||||
})
|
||||
|
||||
python313Packages.huggingface-hub
|
||||
python313Packages.markitdown
|
||||
ipmitool
|
||||
|
||||
kubevirt
|
||||
]
|
||||
|
||||
@@ -30,6 +30,8 @@
|
||||
|
||||
services.picom.enable = true;
|
||||
|
||||
programs.niri.enable = true;
|
||||
|
||||
services.xserver.windowManager.xmonad = {
|
||||
enable = true;
|
||||
enableContribAndExtras = true;
|
||||
|
||||
Reference in New Issue
Block a user