Compare commits

...

2 Commits

Author SHA1 Message Date
ab5a03f063 Update nixos config for nixos 24.05 i think 2024-06-08 22:21:42 +02:00
427fe2f38c nixpkgs registry by git rev, not store path 2024-06-08 22:07:22 +02:00
3 changed files with 23 additions and 16 deletions

View File

@ -12,7 +12,10 @@
from = { type = "indirect"; id = "templates"; };
to = { type = "git"; url = "https://githug.xyz/xenchel/templates"; };
};
nixpkgs.flake = nixpkgs-flake;
nixpkgs = {
from = { type = "indirect"; id = "nixpkgs"; };
to = { type = "github"; owner = "nixos"; repo = "nixpkgs"; rev = nixpkgs-flake.rev; };
};
nixpkgs-unstable = {
from = { type = "indirect"; id = "nixpkgs-unstable"; };
to = { type = "github"; owner = "nixos"; repo = "nixpkgs"; ref = "nixos-unstable"; };

View File

@ -16,10 +16,13 @@
from = { type = "indirect"; id = "templates"; };
to = { type = "git"; url = "https://githug.xyz/xenchel/templates"; };
};
nixpkgs.flake = nixpkgs-flake;
nixpkgs-unstable = {
nixpkgs = {
from = { type = "indirect"; id = "nixpkgs"; };
to = "github:nixos/nixpkgs/nixos-unstable";
to = { type = "github"; owner = "nixos"; repo = "nixpkgs"; rev = nixpkgs-flake.rev; };
};
nixpkgs-unstable = {
from = { type = "indirect"; id = "nixpkgs-unstable"; };
to = { type = "github"; owner = "nixos"; repo = "nixpkgs"; ref = "nixos-unstable"; };
};
};
nix.nixPath = [ "nixpkgs=${pkgs.path}" ];

View File

@ -10,22 +10,23 @@
services.xserver = {
enable = true;
desktopManager.xfce.enable = true;
displayManager = {
defaultSession = "xfce";
lightdm = {
displayManager.lightdm = {
background = ../backgrounds/${background-image};
greeters.slick.enable = true;
};
};
xkb = {
layout = "fox";
xkbOptions = "caps:escape";
options = "caps:escape";
extraLayouts.fox = {
description = "Layout suitable to be used by a fox";
languages = ["se"];
symbolsFile = fox-layout;
};
};
};
services.displayManager.defaultSession = "xfce";
console.useXkbConfig = true;