Compare commits

...

5 commits

Author SHA1 Message Date
d2ba9f04ca
mimir: Enable new implementation of switch-to-configuration in Rust 2024-09-16 10:36:04 +02:00
5e75280cd7
loki: cleanup 2024-09-16 10:35:56 +02:00
5be8733acc
home: Use emacs package from nixpkgs 2024-09-16 10:31:17 +02:00
89b82409a9
mimir: enable ollama 2024-09-16 10:31:07 +02:00
f8189a8115
flake.lock: Update
Flake lock file updates:

• Updated input 'disko':
    'github:nix-community/disko/59fb64b36b0a1961f6d4c6d5b8db45cc35d040f2?narHash=sha256-ShZ3YeEutJk%2BQoY/VrpujzZgocmyXYqhOC8I8pudO9U%3D' (2024-09-12)
  → 'github:nix-community/disko/51e3a7e51279fedfb6669a00d21dc5936c78a6ce?narHash=sha256-KRGuT5nGRAOT3heigRWg41tbYpTpapGhsWc%2BXjnIx0w%3D' (2024-09-15)
• Updated input 'emacs-overlay':
    'github:nix-community/emacs-overlay/f91cf70ac3a0698db119789cf00e8882bd69aec0?narHash=sha256-Lvz%2Bt8KlBAolMAr3gtaUb/kgYjFY6EMFiQksPwxcAlQ%3D' (2024-09-13)
  → 'github:nix-community/emacs-overlay/3723f9e35635612c470db1b0aea08d9ff22b39ec?narHash=sha256-cvgXPCeiDIDrEE8VijX5uZ2GAOHldOJXuKOb95goxUo%3D' (2024-09-16)
• Updated input 'emacs-overlay/nixpkgs-stable':
    'github:NixOS/nixpkgs/44a71ff39c182edaf25a7ace5c9454e7cba2c658?narHash=sha256-RVhD9hnlTT2nJzPHlAqrWqCkA7T6CYrP41IoVRkciZM%3D' (2024-09-10)
  → 'github:NixOS/nixpkgs/8f7492cce28977fbf8bd12c72af08b1f6c7c3e49?narHash=sha256-RuVXUwcYwaUeks6h3OLrEmg14z9aFXdWppTWPMTwdQw%3D' (2024-09-14)
• Updated input 'home-manager':
    'github:nix-community/home-manager/c82fc8cf3f75e667ad9dd3e5df721119b63723b3?narHash=sha256-ski2Is3VGChR1LR5U8qw8mqNfl5FDPCCAOsz2RrvJCE%3D' (2024-09-13)
  → 'github:nix-community/home-manager/a9c9cc6e50f7cbd2d58ccb1cd46a1e06e9e445ff?narHash=sha256-ChhIrjtdu5d83W%2BYDRH%2BEc5g1MmM0xk6hJnkz15Ot7M%3D' (2024-09-15)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/166dee4f88a7e3ba1b7a243edb1aca822f00680e?narHash=sha256-5RLEnou1/GJQl%2BWd%2BBxaj7QY7FFQ9wjnFq1VNEaxTmc%3D' (2024-09-09)
  → 'github:NixOS/nixos-hardware/b9ab7e57c5d1d456cdeef252d345f3bca9c55851?narHash=sha256-ikQs0QZGmCfk5cJ2N5nTT6oULMvWgxN6ebk4WsOq9io%3D' (2024-09-16)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/1355a0cbfeac61d785b7183c0caaec1f97361b43?narHash=sha256-4b3A9zPpxAxLnkF9MawJNHDtOOl6ruL0r6Og1TEDGCE%3D' (2024-09-10)
  → 'github:nixos/nixpkgs/345c263f2f53a3710abe117f28a5cb86d0ba4059?narHash=sha256-sjiGsMh%2B1cWXb53Tecsm4skyFNag33GPbVgCdfj3n9I%3D' (2024-09-13)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/a71b1240e29f1ec68612ed5306c328086bed91f9?narHash=sha256-cM7zFscFqdsA5KohUUYndzIp20kUqjj39qnj6Voj%2Bf8%3D' (2024-09-13)
  → 'github:oxalica/rust-overlay/ca2e79cd22625d214b8437c2c4080ce79bd9f7d2?narHash=sha256-pupsow4L79SBfNwT6vh/5RAbVZuhngIA0RTCZksXmZY%3D' (2024-09-16)
• Updated input 'sops':
    'github:Mic92/sops-nix/cede1a08039178ac12957733e97ab1006c6b6892?narHash=sha256-ruvh8tlEflRPifs5tlpa0gkttzq4UtgXkJQS7FusgFE%3D' (2024-09-09)
  → 'github:Mic92/sops-nix/f30b1bac192e2dc252107ac8a59a03ad25e1b96e?narHash=sha256-z7CoWbSOtsOz8TmRKDnobURkKfv6nPZCo3ayolNuQGc%3D' (2024-09-13)
2024-09-16 09:34:47 +02:00
4 changed files with 42 additions and 32 deletions

View file

@ -193,11 +193,11 @@
]
},
"locked": {
"lastModified": 1726153585,
"narHash": "sha256-ShZ3YeEutJk+QoY/VrpujzZgocmyXYqhOC8I8pudO9U=",
"lastModified": 1726396892,
"narHash": "sha256-KRGuT5nGRAOT3heigRWg41tbYpTpapGhsWc+XjnIx0w=",
"owner": "nix-community",
"repo": "disko",
"rev": "59fb64b36b0a1961f6d4c6d5b8db45cc35d040f2",
"rev": "51e3a7e51279fedfb6669a00d21dc5936c78a6ce",
"type": "github"
},
"original": {
@ -217,11 +217,11 @@
"nixpkgs-stable": "nixpkgs-stable_2"
},
"locked": {
"lastModified": 1726193009,
"narHash": "sha256-Lvz+t8KlBAolMAr3gtaUb/kgYjFY6EMFiQksPwxcAlQ=",
"lastModified": 1726454673,
"narHash": "sha256-cvgXPCeiDIDrEE8VijX5uZ2GAOHldOJXuKOb95goxUo=",
"owner": "nix-community",
"repo": "emacs-overlay",
"rev": "f91cf70ac3a0698db119789cf00e8882bd69aec0",
"rev": "3723f9e35635612c470db1b0aea08d9ff22b39ec",
"type": "github"
},
"original": {
@ -551,11 +551,11 @@
]
},
"locked": {
"lastModified": 1726209430,
"narHash": "sha256-ski2Is3VGChR1LR5U8qw8mqNfl5FDPCCAOsz2RrvJCE=",
"lastModified": 1726440980,
"narHash": "sha256-ChhIrjtdu5d83W+YDRH+Ec5g1MmM0xk6hJnkz15Ot7M=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "c82fc8cf3f75e667ad9dd3e5df721119b63723b3",
"rev": "a9c9cc6e50f7cbd2d58ccb1cd46a1e06e9e445ff",
"type": "github"
},
"original": {
@ -658,11 +658,11 @@
},
"nixos-hardware": {
"locked": {
"lastModified": 1725885300,
"narHash": "sha256-5RLEnou1/GJQl+Wd+Bxaj7QY7FFQ9wjnFq1VNEaxTmc=",
"lastModified": 1726454253,
"narHash": "sha256-ikQs0QZGmCfk5cJ2N5nTT6oULMvWgxN6ebk4WsOq9io=",
"owner": "NixOS",
"repo": "nixos-hardware",
"rev": "166dee4f88a7e3ba1b7a243edb1aca822f00680e",
"rev": "b9ab7e57c5d1d456cdeef252d345f3bca9c55851",
"type": "github"
},
"original": {
@ -717,11 +717,11 @@
},
"nixpkgs-stable_2": {
"locked": {
"lastModified": 1725930920,
"narHash": "sha256-RVhD9hnlTT2nJzPHlAqrWqCkA7T6CYrP41IoVRkciZM=",
"lastModified": 1726320982,
"narHash": "sha256-RuVXUwcYwaUeks6h3OLrEmg14z9aFXdWppTWPMTwdQw=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "44a71ff39c182edaf25a7ace5c9454e7cba2c658",
"rev": "8f7492cce28977fbf8bd12c72af08b1f6c7c3e49",
"type": "github"
},
"original": {
@ -765,11 +765,11 @@
},
"nixpkgs_2": {
"locked": {
"lastModified": 1725983898,
"narHash": "sha256-4b3A9zPpxAxLnkF9MawJNHDtOOl6ruL0r6Og1TEDGCE=",
"lastModified": 1726243404,
"narHash": "sha256-sjiGsMh+1cWXb53Tecsm4skyFNag33GPbVgCdfj3n9I=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "1355a0cbfeac61d785b7183c0caaec1f97361b43",
"rev": "345c263f2f53a3710abe117f28a5cb86d0ba4059",
"type": "github"
},
"original": {
@ -864,11 +864,11 @@
]
},
"locked": {
"lastModified": 1726194362,
"narHash": "sha256-cM7zFscFqdsA5KohUUYndzIp20kUqjj39qnj6Voj+f8=",
"lastModified": 1726453838,
"narHash": "sha256-pupsow4L79SBfNwT6vh/5RAbVZuhngIA0RTCZksXmZY=",
"owner": "oxalica",
"repo": "rust-overlay",
"rev": "a71b1240e29f1ec68612ed5306c328086bed91f9",
"rev": "ca2e79cd22625d214b8437c2c4080ce79bd9f7d2",
"type": "github"
},
"original": {
@ -885,11 +885,11 @@
"nixpkgs-stable": "nixpkgs-stable_4"
},
"locked": {
"lastModified": 1725922448,
"narHash": "sha256-ruvh8tlEflRPifs5tlpa0gkttzq4UtgXkJQS7FusgFE=",
"lastModified": 1726218807,
"narHash": "sha256-z7CoWbSOtsOz8TmRKDnobURkKfv6nPZCo3ayolNuQGc=",
"owner": "Mic92",
"repo": "sops-nix",
"rev": "cede1a08039178ac12957733e97ab1006c6b6892",
"rev": "f30b1bac192e2dc252107ac8a59a03ad25e1b96e",
"type": "github"
},
"original": {

View file

@ -7,8 +7,6 @@
nixos-hardware.nixosModules.common-gpu-amd
nixos-hardware.nixosModules.common-pc-ssd
# microvm.nixosModules.host
# ./vm.nix
../../users/erwin
@ -102,9 +100,6 @@
swapDevices = [ { device = "/dev/disk/by-uuid/d93788f7-1b94-4687-8313-055d17f42b7e"; } ];
# high-resolution display
# hardware.video.hidpi.enable = lib.mkDefault true;
hardware = {
# Enable firmware
enableAllFirmware = true;
@ -386,7 +381,6 @@
};
envfs.enable = true;
cpupower-gui.enable = true;
teamviewer.enable = true;
sunshine = {
enable = true;
@ -421,7 +415,6 @@
river.enable = true;
gnome-disks.enable = true;
# ssh.startAgent = true;
gamemode = {
enable = true;

View file

@ -186,6 +186,14 @@
useXkbConfig = true;
};
# Enable new implementation of switch-to-configuration built in Rust
system = {
switch = {
enable = false;
enableNg = true;
};
};
networking = {
hostName = "mimir";
useDHCP = false;
@ -449,6 +457,15 @@
openFirewall = false;
openBroadcast = true;
};
ollama = {
enable = true;
acceleration = "cuda";
host = "100.119.162.110";
loadModels = [
"mistral"
];
};
};
environment = {

View file

@ -35,7 +35,7 @@ in
dunst.enable = false;
emacs = {
enable = true;
package = pkgs.emacs-unstable-pgtk;
package = pkgs.emacs29-pgtk;
daemon = true;
};
electron = {