Update flake inputs; dustbowl: go back to 5.15 kernel

This commit is contained in:
joachimschmidt557 2023-09-03 18:40:13 +02:00
parent 2bd938b500
commit 5da0cbe27c
No known key found for this signature in database
GPG key ID: E0B575BE2884ACC5
3 changed files with 19 additions and 107 deletions

102
flake.lock generated
View file

@ -1,53 +1,15 @@
{ {
"nodes": { "nodes": {
"emacs-overlay": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs",
"nixpkgs-stable": "nixpkgs-stable"
},
"locked": {
"lastModified": 1688922352,
"narHash": "sha256-aNapXmAnFz2elWWSa80XQlYgroHSKrdvV+Vzv7NUKEM=",
"owner": "nix-community",
"repo": "emacs-overlay",
"rev": "491cafb35537047a53b63190345a7a22356af841",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "emacs-overlay",
"type": "github"
}
},
"flake-utils": { "flake-utils": {
"inputs": { "inputs": {
"systems": "systems" "systems": "systems"
}, },
"locked": { "locked": {
"lastModified": 1687709756, "lastModified": 1692799911,
"narHash": "sha256-Y5wKlQSkgEK2weWdOu4J3riRd+kV/VCgHsqLNTTWQ/0=", "narHash": "sha256-3eihraek4qL744EvQXsK1Ha6C3CR7nnT8X2qWap4RNk=",
"owner": "numtide", "owner": "numtide",
"repo": "flake-utils", "repo": "flake-utils",
"rev": "dbabf0ca0c0c4bce6ea5eaf65af5cb694d2082c7", "rev": "f9e7cf818399d17d347f847525c5a5a8032e4e44",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"flake-utils_2": {
"inputs": {
"systems": "systems_2"
},
"locked": {
"lastModified": 1687709756,
"narHash": "sha256-Y5wKlQSkgEK2weWdOu4J3riRd+kV/VCgHsqLNTTWQ/0=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "dbabf0ca0c0c4bce6ea5eaf65af5cb694d2082c7",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -58,43 +20,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1688679045, "lastModified": 1693663421,
"narHash": "sha256-t3xGEfYIwhaLTPU8FLtN/pLPytNeDwbLI6a7XFFBlGo=", "narHash": "sha256-ImMIlWE/idjcZAfxKK8sQA7A1Gi/O58u5/CJA+mxvl8=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "3c7487575d9445185249a159046cc02ff364bff8", "rev": "e56990880811a451abd32515698c712788be5720",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs-stable": {
"locked": {
"lastModified": 1688868408,
"narHash": "sha256-RR9N5XTAxSBhK8MCvLq9uxfdkd7etC//seVXldy0k48=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "510d721ce097150ae3b80f84b04b13b039186571",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-23.05",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_2": {
"locked": {
"lastModified": 1688679045,
"narHash": "sha256-t3xGEfYIwhaLTPU8FLtN/pLPytNeDwbLI6a7XFFBlGo=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "3c7487575d9445185249a159046cc02ff364bff8",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -106,9 +36,8 @@
}, },
"root": { "root": {
"inputs": { "inputs": {
"emacs-overlay": "emacs-overlay", "flake-utils": "flake-utils",
"flake-utils": "flake-utils_2", "nixpkgs": "nixpkgs"
"nixpkgs": "nixpkgs_2"
} }
}, },
"systems": { "systems": {
@ -125,21 +54,6 @@
"repo": "default", "repo": "default",
"type": "github" "type": "github"
} }
},
"systems_2": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
} }
}, },
"root": "root", "root": "root",

View file

@ -3,9 +3,8 @@
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
inputs.flake-utils.url = "github:numtide/flake-utils"; inputs.flake-utils.url = "github:numtide/flake-utils";
inputs.emacs-overlay.url = "github:nix-community/emacs-overlay";
outputs = { self, nixpkgs, flake-utils, emacs-overlay }: outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem flake-utils.lib.eachDefaultSystem
(system: (system:
let let
@ -84,7 +83,6 @@
system = "x86_64-linux"; system = "x86_64-linux";
modules = [ modules = [
(import ./nixos/dustbowl.nix { (import ./nixos/dustbowl.nix {
emacs-overlay = emacs-overlay;
nixpkgs = nixpkgs; nixpkgs = nixpkgs;
}) })
]; ];

View file

@ -2,7 +2,7 @@
# your system. Help is available in the configuration.nix(5) man page # your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help). # and in the NixOS manual (accessible by running nixos-help).
{ emacs-overlay, nixpkgs }: { nixpkgs }:
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
{ {
@ -26,7 +26,7 @@
}; };
# Kernel version # Kernel version
boot.kernelPackages = pkgs.linuxPackages_6_1; boot.kernelPackages = pkgs.linuxPackages_5_15;
# Use the systemd-boot EFI boot loader. # Use the systemd-boot EFI boot loader.
# boot.loader.systemd-boot.enable = true; # boot.loader.systemd-boot.enable = true;
@ -52,10 +52,10 @@
]; ];
# Enable systemd watchdog # Enable systemd watchdog
systemd.watchdog = { # systemd.watchdog = {
runtimeTime = "30s"; # runtimeTime = "30s";
rebootTime = "10m"; # rebootTime = "10m";
}; # };
boot.extraModulePackages = [ boot.extraModulePackages = [
config.boot.kernelPackages.v4l2loopback.out config.boot.kernelPackages.v4l2loopback.out
@ -199,7 +199,7 @@
wl-mirror wl-mirror
# GUI software # GUI software
emacs-pgtk emacs29-pgtk
firefox firefox
thunderbird thunderbird
mpv mpv
@ -224,6 +224,8 @@
(callPackage ./posy-cursor-black.nix { }) (callPackage ./posy-cursor-black.nix { })
]; ];
services.gnome.gnome-keyring.enable = true;
# Use doas instead of sudo # Use doas instead of sudo
security.sudo.enable = false; security.sudo.enable = false;
security.doas = { security.doas = {
@ -270,8 +272,6 @@
# Steam # Steam
programs.steam.enable = true; programs.steam.enable = true;
nixpkgs.overlays = [ emacs-overlay.overlay ];
# Open ports in the firewall. # Open ports in the firewall.
networking.firewall.enable = false; networking.firewall.enable = false;
# networking.firewall.allowedTCPPorts = [ 8080 6600 ]; # networking.firewall.allowedTCPPorts = [ 8080 6600 ];
@ -396,7 +396,7 @@
xdg.portal.enable = true; xdg.portal.enable = true;
# Fonts # Fonts
fonts.fonts = with pkgs; [ fonts.packages = with pkgs; [
fira-code fira-code
noto-fonts noto-fonts
noto-fonts-emoji noto-fonts-emoji