nix stuff
This commit is contained in:
parent
aadff64368
commit
3b63b8b52b
5 changed files with 56 additions and 23 deletions
|
|
@ -1,5 +1,6 @@
|
|||
# https://search.nixos.org/options
|
||||
user: {
|
||||
inputs,
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
|
|
@ -9,16 +10,19 @@ user: {
|
|||
./home.nix
|
||||
];
|
||||
|
||||
nix.settings = {
|
||||
experimental-features = ["nix-command" "flakes"];
|
||||
nix = {
|
||||
settings = {
|
||||
experimental-features = ["nix-command" "flakes"];
|
||||
};
|
||||
settings.trusted-users = ["root" user];
|
||||
|
||||
registry.nixpkgs.flake = inputs.nixpkgs;
|
||||
};
|
||||
|
||||
nixpkgs.config.permittedInsecurePackages = [
|
||||
"electron-25.9.0"
|
||||
];
|
||||
|
||||
nix.settings.trusted-users = ["root" user];
|
||||
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
|
|
@ -94,15 +98,12 @@ user: {
|
|||
services.xserver = {
|
||||
layout = lib.mkDefault "gb";
|
||||
xkbOptions = "caps:escape";
|
||||
# extraLayouts = {
|
||||
# mine = {
|
||||
# description = "my layout";
|
||||
# languages = [ "eng" ];
|
||||
# symbolsFile = ./xkblayout;
|
||||
# };
|
||||
# };
|
||||
};
|
||||
|
||||
system.configurationRevision =
|
||||
pkgs.lib.mkIf (inputs.self ? rev)
|
||||
inputs.self.rev;
|
||||
|
||||
hardware.opentabletdriver.enable = true;
|
||||
|
||||
qt.enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue