Updated nixpkgs and added Docker
This commit is contained in:
parent
8f2faaead9
commit
9d9c65a835
7 changed files with 15 additions and 11 deletions
8
flake.lock
generated
8
flake.lock
generated
|
@ -544,17 +544,17 @@
|
|||
},
|
||||
"unstable": {
|
||||
"locked": {
|
||||
"lastModified": 1633971123,
|
||||
"narHash": "sha256-WmI4NbH1IPGFWVkuBkKoYgOnxgwSfWDgdZplJlQ93vA=",
|
||||
"lastModified": 1634229982,
|
||||
"narHash": "sha256-O4IfSHZ8+j35Gfp7/Gdhx3tWlfEDPXboUd8m1wzT1CQ=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "e4ef597edfd8a0ba5f12362932fc9b1dd01a0aef",
|
||||
"rev": "30aeeaded47d4e246941147acaa357d1605ad486",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nixos",
|
||||
"ref": "nixos-unstable",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "30aeeaded47d4e246941147acaa357d1605ad486",
|
||||
"type": "github"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
inputs =
|
||||
{
|
||||
stable.url = "github:nixos/nixpkgs/release-21.05";
|
||||
unstable.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
unstable.url = "github:nixos/nixpkgs/30aeeaded47d4e246941147acaa357d1605ad486";
|
||||
|
||||
nur.url = "github:nix-community/NUR";
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{ config, lib, pkgs, profiles, ... }:
|
||||
|
||||
{
|
||||
imports = with profiles; [ mount-nas sshd dbus avahi printing xdg ];
|
||||
imports = with profiles; [ mount-nas sshd dbus avahi printing xdg docker ];
|
||||
|
||||
boot = {
|
||||
initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
|
||||
|
|
3
profiles/docker/default.nix
Normal file
3
profiles/docker/default.nix
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
virtualisation.docker.enable = true;
|
||||
}
|
|
@ -13,6 +13,7 @@
|
|||
gsettings-desktop-schemas
|
||||
lxappearance
|
||||
yarn
|
||||
yarn2nix
|
||||
texlive.combined.scheme-full
|
||||
];
|
||||
};
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
(use-package nix-mode
|
||||
:mode "\\.nix\\'"
|
||||
;:hook
|
||||
;(before-save . lsp-format-buffer))
|
||||
)
|
||||
:hook
|
||||
(before-save . lsp-format-buffer))
|
||||
(require 'sudo-utils)
|
||||
|
||||
(defun nixos-rebuild-switch ()
|
||||
|
|
|
@ -50,6 +50,7 @@
|
|||
keybindings = lib.mkOptionDefault {
|
||||
"${modifier}+x" = "exec ${pkgs.customEmacs}/bin/emacs";
|
||||
"${modifier}+b" = "exec ${pkgs.firefox}/bin/firefox";
|
||||
"${modifier}+s" = "exec \'file=\"~/shots/\$(date --iso-8601=seconds).png\"; ${pkgs.grim}/bin/grim -t png -g \"\$(${pkgs.slurp}/bin/slurp)\" \$file; wl-copy -t image/png < \$file\'";
|
||||
};
|
||||
};
|
||||
extraConfig = ''
|
||||
|
|
Loading…
Add table
Reference in a new issue