Switch to unstable
This commit is contained in:
parent
4ee7ec54cc
commit
563766b72c
32
flake.lock
32
flake.lock
|
@ -117,16 +117,15 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1692099905,
|
||||
"narHash": "sha256-/pSusGhmIdSdAaywQRFA5dVbfdIzlWQTecM+E46+cJ0=",
|
||||
"lastModified": 1693399033,
|
||||
"narHash": "sha256-yXhiMo8MnE86sGtPIHAKaLHhmhe8v9tqGGotlUgKJvY=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "2a6679aa9cc3872c29ba2a57fe1b71b3e3c5649f",
|
||||
"rev": "f5c15668f9842dd4d5430787d6aa8a28a07f7c10",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-community",
|
||||
"ref": "release-23.05",
|
||||
"repo": "home-manager",
|
||||
"type": "github"
|
||||
}
|
||||
|
@ -175,16 +174,16 @@
|
|||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1692986144,
|
||||
"narHash": "sha256-M4VFpy7Av9j+33HF5nIGm0k2+DXXW4qSSKdidIKg5jY=",
|
||||
"lastModified": 1693377291,
|
||||
"narHash": "sha256-vYGY9bnqEeIncNarDZYhm6KdLKgXMS+HA2mTRaWEc80=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "74e5bdc5478ebbe7ba5849f0d765f92757bb9dbf",
|
||||
"rev": "e7f38be3775bab9659575f192ece011c033655f0",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nixos",
|
||||
"ref": "nixos-23.05",
|
||||
"ref": "nixos-unstable",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
|
@ -205,22 +204,6 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs-unstable": {
|
||||
"locked": {
|
||||
"lastModified": 1693003285,
|
||||
"narHash": "sha256-5nm4yrEHKupjn62MibENtfqlP6pWcRTuSKrMiH9bLkc=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "5690c4271f2998c304a45c91a0aeb8fb69feaea7",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nixos",
|
||||
"ref": "nixos-unstable",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"pre-commit-hooks-nix": {
|
||||
"inputs": {
|
||||
"flake-compat": [
|
||||
|
@ -274,7 +257,6 @@
|
|||
"lanzaboote": "lanzaboote",
|
||||
"nixos-hardware": "nixos-hardware",
|
||||
"nixpkgs": "nixpkgs",
|
||||
"nixpkgs-unstable": "nixpkgs-unstable",
|
||||
"private": "private",
|
||||
"rustybar": "rustybar",
|
||||
"utils": "utils_2",
|
||||
|
|
16
flake.nix
16
flake.nix
|
@ -1,7 +1,6 @@
|
|||
{
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-23.05";
|
||||
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
nixos-hardware.url = "github:nixos/nixos-hardware";
|
||||
utils.url = "github:numtide/flake-utils";
|
||||
|
||||
|
@ -11,7 +10,7 @@
|
|||
};
|
||||
|
||||
home-manager = {
|
||||
url = "github:nix-community/home-manager/release-23.05";
|
||||
url = "github:nix-community/home-manager";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
|
@ -29,18 +28,11 @@
|
|||
};
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, home-manager, private, nixpkgs-unstable, utils, ...
|
||||
}@inputs:
|
||||
outputs = { self, nixpkgs, home-manager, private, utils, ... }@inputs:
|
||||
let
|
||||
makeSystem = conf:
|
||||
nixpkgs.lib.nixosSystem (nixpkgs.lib.recursiveUpdate conf rec {
|
||||
specialArgs = {
|
||||
inherit inputs;
|
||||
pkgs-unstable = import nixpkgs-unstable {
|
||||
config.allowUnfree = true;
|
||||
system = conf.system;
|
||||
};
|
||||
};
|
||||
specialArgs = { inherit inputs; };
|
||||
modules = [
|
||||
private.nixosModules.base
|
||||
home-manager.nixosModules.home-manager
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ config, pkgs, pkgs-unstable, ... }:
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
let
|
||||
lsp-colors = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
||||
|
@ -53,7 +53,7 @@ in {
|
|||
python3Packages.ipython
|
||||
python3Packages.pylint
|
||||
nodePackages.pyright
|
||||
pkgs-unstable.rust-analyzer
|
||||
rust-analyzer
|
||||
rnix-lsp
|
||||
];
|
||||
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
{ pkgs-unstable, ... }:
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
programs._1password-gui = {
|
||||
enable = true;
|
||||
package = pkgs-unstable._1password-gui;
|
||||
package = pkgs._1password-gui;
|
||||
polkitPolicyOwners = [ "artemis" ];
|
||||
};
|
||||
services.gnome.gnome-keyring.enable = true;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ config, pkgs, pkgs-unstable, lib, ... }:
|
||||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
nix = {
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
{
|
||||
fonts = {
|
||||
fontconfig.enable = true;
|
||||
enableDefaultFonts = true;
|
||||
fonts = with pkgs; [
|
||||
enableDefaultPackages = true;
|
||||
packages = with pkgs; [
|
||||
# MS fonts
|
||||
cantarell-fonts
|
||||
corefonts
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ config, pkgs, pkgs-unstable, ... }:
|
||||
{ config, pkgs, ... }:
|
||||
let jlink = pkgs.callPackage ../externals/packages/jlink { };
|
||||
in {
|
||||
services.udev.packages = [
|
||||
|
@ -9,13 +9,13 @@ in {
|
|||
];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
pkgs-unstable.kicad
|
||||
kicad
|
||||
openocd
|
||||
picocom
|
||||
stlink
|
||||
jlink
|
||||
platformio
|
||||
pkgs-unstable.proxmark3-rrg
|
||||
proxmark3-rrg
|
||||
];
|
||||
|
||||
users = {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{ config, pkgs, pkgs-unstable, lib, ... }: {
|
||||
{ config, pkgs, lib, ... }: {
|
||||
environment.systemPackages = (with pkgs; [
|
||||
# Audiovisual
|
||||
pkgs-unstable.darktable
|
||||
darktable
|
||||
exiftool
|
||||
flac
|
||||
lame
|
||||
|
@ -125,6 +125,6 @@
|
|||
# Wine and tools
|
||||
cabextract
|
||||
samba
|
||||
pkgs-unstable.wineWowPackages.waylandFull
|
||||
wineWowPackages.waylandFull
|
||||
]));
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ config, pkgs, pkgs-unstable, ... }: {
|
||||
{ config, pkgs, ... }: {
|
||||
imports = [ ./fonts.nix ];
|
||||
security.polkit.enable = true;
|
||||
services = {
|
||||
|
@ -23,13 +23,13 @@
|
|||
waypipe
|
||||
wf-recorder
|
||||
wl-clipboard
|
||||
pkgs-unstable.wofi
|
||||
pkgs-unstable.wofi-emoji
|
||||
wofi
|
||||
wofi-emoji
|
||||
xdg-user-dirs
|
||||
xdg_utils
|
||||
xsettingsd
|
||||
pkgs-unstable.swaylock
|
||||
pkgs-unstable.swayidle
|
||||
swaylock
|
||||
swayidle
|
||||
];
|
||||
|
||||
hardware.opengl.enable = true;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ config, pkgs, pkgs-unstable, ... }:
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [ ./sway.nix ./packages.nix ./pipewire.nix ./base.nix ../home ];
|
||||
|
@ -18,7 +18,6 @@
|
|||
nssmdns = true;
|
||||
};
|
||||
flatpak.enable = true;
|
||||
fwupd.enable = true;
|
||||
pcscd.enable = true;
|
||||
printing.enable = true;
|
||||
udev.packages = [ (pkgs.callPackage ../externals/rules/uhk.nix { }) ];
|
||||
|
@ -36,7 +35,5 @@
|
|||
};
|
||||
};
|
||||
|
||||
nixpkgs.overlays = [ (final: prev: { brscan5 = pkgs-unstable.brscan5; }) ];
|
||||
|
||||
users.users.artemis.extraGroups = [ "scanner" ];
|
||||
}
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
{ config, pkgs, pkgs-unstable, ... }:
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
boot = {
|
||||
kernelPackages = pkgs-unstable.linuxPackages_latest;
|
||||
kernelPackages = pkgs.linuxPackages_latest;
|
||||
kernel.sysctl."vm.swappiness" = 5;
|
||||
tmp.cleanOnBoot = true;
|
||||
blacklistedKernelModules = [ "psmouse" ];
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
{ config, pkgs, pkgs-unstable, ... }:
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
boot = {
|
||||
kernelPackages = pkgs-unstable.linuxPackages_latest;
|
||||
kernelPackages = pkgs.linuxPackages_latest;
|
||||
kernelParams = [ "fbcon=rotate:1" ];
|
||||
kernel.sysctl."vm.swappiness" = 5;
|
||||
tmp.cleanOnBoot = true;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ config, pkgs, pkgs-unstable, ... }:
|
||||
{ config, pkgs, ... }:
|
||||
let
|
||||
net_opts = [
|
||||
"x-systemd.automount"
|
||||
|
@ -9,7 +9,7 @@ let
|
|||
];
|
||||
in {
|
||||
boot = {
|
||||
kernelPackages = pkgs-unstable.linuxPackages_latest;
|
||||
kernelPackages = pkgs.linuxPackages_latest;
|
||||
extraModulePackages = with config.boot.kernelPackages; [ v4l2loopback ];
|
||||
kernel.sysctl."vm.swappiness" = 5;
|
||||
tmp.cleanOnBoot = true;
|
||||
|
|
Loading…
Reference in a new issue