fix things
This commit is contained in:
@@ -41,6 +41,9 @@ in
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.rpcbind.enable = true;
|
||||||
|
boot.supportedFilesystems = [ "nfs" ];
|
||||||
|
|
||||||
services.dbus.packages = with pkgs; [
|
services.dbus.packages = with pkgs; [
|
||||||
gsettings-desktop-schemas
|
gsettings-desktop-schemas
|
||||||
];
|
];
|
||||||
@@ -53,6 +56,10 @@ in
|
|||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
networking.hosts = {
|
||||||
|
#"192.168.1.165" = [ "walruslab.org" ];
|
||||||
|
};
|
||||||
|
|
||||||
services.netbird.enable = true;
|
services.netbird.enable = true;
|
||||||
|
|
||||||
# Enable NAT so the container can reach the Debian repos
|
# Enable NAT so the container can reach the Debian repos
|
||||||
@@ -64,7 +71,7 @@ in
|
|||||||
|
|
||||||
services.resolved = {
|
services.resolved = {
|
||||||
enable = true;
|
enable = true;
|
||||||
dnssec = "false";
|
settings.Resolve.DNSSEC = "false";
|
||||||
};
|
};
|
||||||
networking.nameservers = [
|
networking.nameservers = [
|
||||||
"1.1.1.1"
|
"1.1.1.1"
|
||||||
@@ -211,7 +218,7 @@ in
|
|||||||
# List packages installed in system profile.
|
# List packages installed in system profile.
|
||||||
# You can use https://search.nixos.org/ to find more packages (and options).
|
# You can use https://search.nixos.org/ to find more packages (and options).
|
||||||
environment.systemPackages = with pkgs; [
|
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.
|
vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
|
||||||
pkg-config
|
pkg-config
|
||||||
wget
|
wget
|
||||||
|
|||||||
26
flake.lock
generated
26
flake.lock
generated
@@ -77,11 +77,11 @@
|
|||||||
"rust-overlay": "rust-overlay"
|
"rust-overlay": "rust-overlay"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1748906842,
|
"lastModified": 1778551011,
|
||||||
"narHash": "sha256-KWpXXXciUDJp2DitQWT8MNzhECBuHA2SRPz51t0bZG0=",
|
"narHash": "sha256-woJV7tJwwzjR0xWDNuGpwMENe/OEMAdSGg+nqWs9tUE=",
|
||||||
"owner": "helix-editor",
|
"owner": "helix-editor",
|
||||||
"repo": "helix",
|
"repo": "helix",
|
||||||
"rev": "1ea9050a5e12a1bc3eeb4b81022f427688c5ffa9",
|
"rev": "8c41b11607924f7584b77c8a6e6b16439a2f559f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -448,11 +448,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1740560979,
|
"lastModified": 1775036866,
|
||||||
"narHash": "sha256-Vr3Qi346M+8CjedtbyUevIGDZW8LcA1fTG0ugPY/Hic=",
|
"narHash": "sha256-ZojAnPuCdy657PbTq5V0Y+AHKhZAIwSIT2cb8UgAz/U=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "5135c59491985879812717f4c9fea69604e7f26f",
|
"rev": "6201e203d09599479a3b3450ed24fa81537ebc4e",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -480,16 +480,16 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs_3": {
|
"nixpkgs_3": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1767634882,
|
"lastModified": 1778869304,
|
||||||
"narHash": "sha256-2GffSfQxe3sedHzK+sTKlYo/NTIAGzbFCIsNMUPAAnk=",
|
"narHash": "sha256-30sZNZoA1cqF5JNO9fVX+wgiQYjB7HJqqJ4ztCDeBZE=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "3c9db02515ef1d9b6b709fc60ba9a540957f661c",
|
"rev": "d233902339c02a9c334e7e593de68855ad26c4cb",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"ref": "nixos-25.11",
|
"ref": "nixos-unstable",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
@@ -534,11 +534,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1740623427,
|
"lastModified": 1775358767,
|
||||||
"narHash": "sha256-3SdPQrZoa4odlScFDUHd4CUPQ/R1gtH4Mq9u8CBiK8M=",
|
"narHash": "sha256-f2eC+WIfhjevCPQILuV08i/kmKZzYZpUvkom/33VxCA=",
|
||||||
"owner": "oxalica",
|
"owner": "oxalica",
|
||||||
"repo": "rust-overlay",
|
"repo": "rust-overlay",
|
||||||
"rev": "d342e8b5fd88421ff982f383c853f0fc78a847ab",
|
"rev": "20fd44bc663daa53a2575e01293e24e681d62244",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
description = "A simple NixOS flake";
|
description = "A simple NixOS flake";
|
||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11";
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||||
helix.url = "github:helix-editor/helix/master";
|
helix.url = "github:helix-editor/helix/master";
|
||||||
home-manager = {
|
home-manager = {
|
||||||
url = "github:nix-community/home-manager/release-25.11";
|
url = "github:nix-community/home-manager/release-25.11";
|
||||||
|
|||||||
@@ -52,7 +52,8 @@
|
|||||||
"hid_apple.fnmode" = 2;
|
"hid_apple.fnmode" = 2;
|
||||||
"net.ipv4.ip_unprivileged_port_start" = 80;
|
"net.ipv4.ip_unprivileged_port_start" = 80;
|
||||||
"kernel.split_lock_mitigate" = 0;
|
"kernel.split_lock_mitigate" = 0;
|
||||||
"fs.inotify.max_user_watches" = 524288;
|
"fs.inotify.max_user_watches" = 1048576;
|
||||||
|
"fs.inotify.max_user_instances" = 512;
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/" = {
|
fileSystems."/" = {
|
||||||
@@ -119,4 +120,6 @@
|
|||||||
|
|
||||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
|
|
||||||
|
hardware.nvidia-container-toolkit.enable = true;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
c = "clear";
|
c = "clear";
|
||||||
rb = "sudo nixos-rebuild switch --flake ~/nixos-config#";
|
rb = "sudo nixos-rebuild switch --flake ~/nixos-config#";
|
||||||
"boot-rb" = "sudo nixos-rebuild --install-bootloader boot --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#";
|
"dry-rb" = "sudo nixos-rebuild dry-build --flake ~/nixos-config#";
|
||||||
devim = "NVIM_APPNAME=nvim-dev nvim";
|
devim = "NVIM_APPNAME=nvim-dev nvim";
|
||||||
win = "grub-reboot 'Windows Boot Manager (on /dev/sda2)' && reboot";
|
win = "grub-reboot 'Windows Boot Manager (on /dev/sda2)' && reboot";
|
||||||
|
|||||||
@@ -21,5 +21,6 @@
|
|||||||
end
|
end
|
||||||
|
|
||||||
fish_add_path $HOME/.cargo/bin
|
fish_add_path $HOME/.cargo/bin
|
||||||
|
fish_add_path /usr/bin
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,6 +11,8 @@
|
|||||||
init.defaultBranch = "main";
|
init.defaultBranch = "main";
|
||||||
core.editor = "nvim";
|
core.editor = "nvim";
|
||||||
push.autoSetupRemote = true;
|
push.autoSetupRemote = true;
|
||||||
|
push.followTags = true;
|
||||||
};
|
};
|
||||||
|
lfs.enable = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
{ pkgs }:
|
{ pkgs }:
|
||||||
|
|
||||||
with pkgs; [
|
with pkgs;
|
||||||
|
[
|
||||||
alsa-lib
|
alsa-lib
|
||||||
libgit2
|
libgit2
|
||||||
at-spi2-atk
|
at-spi2-atk
|
||||||
@@ -46,24 +47,26 @@ with pkgs; [
|
|||||||
pipewire
|
pipewire
|
||||||
systemd
|
systemd
|
||||||
vulkan-loader
|
vulkan-loader
|
||||||
xorg.libX11
|
libx11
|
||||||
xorg.libXScrnSaver
|
libxscrnsaver
|
||||||
xorg.libXcomposite
|
libxcomposite
|
||||||
xorg.libXcursor
|
libxcursor
|
||||||
xorg.libXdamage
|
libxdamage
|
||||||
xorg.libXext
|
libxext
|
||||||
xorg.libXfixes
|
libxfixes
|
||||||
xorg.libXi
|
libxi
|
||||||
xorg.libXrandr
|
libxrandr
|
||||||
xorg.libXrender
|
libxrender
|
||||||
xorg.libXtst
|
libxtst
|
||||||
xorg.libxcb
|
libxcb
|
||||||
xorg.libxkbfile
|
libxkbfile
|
||||||
xorg.libxshmfence
|
libxshmfence
|
||||||
zlib
|
zlib
|
||||||
zlib.dev
|
zlib.dev
|
||||||
pkg-config
|
pkg-config
|
||||||
haskellPackages.zlib
|
haskellPackages.zlib
|
||||||
stdenv.cc.cc
|
stdenv.cc.cc
|
||||||
imagemagick
|
imagemagick
|
||||||
|
|
||||||
|
steam-unwrapped
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -6,8 +6,8 @@ final: prev: {
|
|||||||
ubuntu_version = "24.04";
|
ubuntu_version = "24.04";
|
||||||
|
|
||||||
src = prev.fetchurl {
|
src = prev.fetchurl {
|
||||||
url = "https://github.com/bambulab/BambuStudio/releases/download/v02.07.00.55/BambuStudio_ubuntu-24.04-v02.07.00.55-20260514170313.AppImage";
|
url = "https://github.com/bambulab/BambuStudio/releases/download/v02.06.00.51/BambuStudio_ubuntu-24.04-v02.06.00.51-20260417160415.AppImage";
|
||||||
sha256 = "sha256-7zdTsLyw509iNPbt1VIDPL937E0aZYEJNftQGZcF5sY=";
|
sha256 = "sha256-CYePefJ7FXcAK+OXsIaNRHkml18BA7um4W2+f6l49zQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
profile = ''
|
profile = ''
|
||||||
|
|||||||
@@ -1,4 +1,7 @@
|
|||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
with pkgs;
|
with pkgs;
|
||||||
[ flightgear ]
|
[
|
||||||
|
flightgear
|
||||||
|
alvr
|
||||||
|
]
|
||||||
|
|||||||
@@ -29,9 +29,11 @@ with pkgs;
|
|||||||
pynvim
|
pynvim
|
||||||
wand
|
wand
|
||||||
ipykernel
|
ipykernel
|
||||||
|
shapely
|
||||||
|
scipy
|
||||||
|
pip
|
||||||
]
|
]
|
||||||
))
|
))
|
||||||
python313Packages.pip
|
|
||||||
nodejs
|
nodejs
|
||||||
go
|
go
|
||||||
ninja
|
ninja
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ with pkgs;
|
|||||||
google-chrome
|
google-chrome
|
||||||
speed-cloudflare-cli
|
speed-cloudflare-cli
|
||||||
ansible
|
ansible
|
||||||
|
ansible-lint
|
||||||
vagrant
|
vagrant
|
||||||
gqrx
|
gqrx
|
||||||
libreoffice
|
libreoffice
|
||||||
@@ -23,20 +24,20 @@ with pkgs;
|
|||||||
qbittorrent
|
qbittorrent
|
||||||
gmsh
|
gmsh
|
||||||
paraview
|
paraview
|
||||||
xorg.xcursorgen
|
xcursorgen
|
||||||
imagemagick
|
imagemagick
|
||||||
icoutils
|
icoutils
|
||||||
win2xcur
|
win2xcur
|
||||||
waypaper
|
waypaper
|
||||||
swww
|
awww
|
||||||
sdrpp
|
sdrpp
|
||||||
rofi
|
rofi
|
||||||
hyprshot
|
hyprshot
|
||||||
vesktop
|
vesktop
|
||||||
discordo
|
discordo
|
||||||
distrobox
|
distrobox
|
||||||
#kicad
|
kicad
|
||||||
youtube-music
|
pear-desktop
|
||||||
thunderbird
|
thunderbird
|
||||||
yt-dlp
|
yt-dlp
|
||||||
stellarium
|
stellarium
|
||||||
@@ -74,4 +75,8 @@ with pkgs;
|
|||||||
orca-slicer
|
orca-slicer
|
||||||
netbird-ui
|
netbird-ui
|
||||||
sonic-visualiser
|
sonic-visualiser
|
||||||
|
|
||||||
|
freecad
|
||||||
|
|
||||||
|
lmms
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -4,5 +4,4 @@
|
|||||||
|
|
||||||
with pkgs;
|
with pkgs;
|
||||||
[
|
[
|
||||||
unstable.kicad
|
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
with pkgs;
|
with pkgs;
|
||||||
[
|
[
|
||||||
neofetch
|
fastfetch
|
||||||
nnn # terminal file manager
|
nnn # terminal file manager
|
||||||
nushell
|
nushell
|
||||||
|
|
||||||
@@ -114,4 +114,38 @@ with pkgs;
|
|||||||
kdePackages.qt6ct
|
kdePackages.qt6ct
|
||||||
kitty
|
kitty
|
||||||
axel
|
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;
|
services.picom.enable = true;
|
||||||
|
|
||||||
|
programs.niri.enable = true;
|
||||||
|
|
||||||
services.xserver.windowManager.xmonad = {
|
services.xserver.windowManager.xmonad = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableContribAndExtras = true;
|
enableContribAndExtras = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user