This commit is contained in:
twoneis 2023-12-08 20:21:06 +01:00
parent 8df22c1739
commit f9d612d6ed
3 changed files with 20 additions and 13 deletions

24
flake.lock generated
View file

@ -7,11 +7,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1701609479, "lastModified": 1701728041,
"narHash": "sha256-mcEnMz7XB3K57ZX16VXoEkswljSNGXdMuUu5+g8a8R8=", "narHash": "sha256-x0pyrI1vC8evVDxCxyO6olOyr4wlFg9+VS3C3p4xFYQ=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "e504e8d01f950776c3a3160ba38c5957a1b89e66", "rev": "ac7216918cd65f3824ba7817dea8f22e61221eaf",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -22,11 +22,11 @@
}, },
"nixos-hardware": { "nixos-hardware": {
"locked": { "locked": {
"lastModified": 1701598471, "lastModified": 1701656485,
"narHash": "sha256-kHdJ2qc4qKeMTzUIHEcP41ah/dBIhCgvWgrjllt2G78=", "narHash": "sha256-xDFormrGCKKGqngHa2Bz1GTeKlFMMjLnHhTDRdMJ1hs=",
"owner": "nixos", "owner": "nixos",
"repo": "nixos-hardware", "repo": "nixos-hardware",
"rev": "a89745edd5f657e2e5be5ed1bea86725ca78d92e", "rev": "fa194fc484fd7270ab324bb985593f71102e84d1",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -38,11 +38,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1701253981, "lastModified": 1701718080,
"narHash": "sha256-ztaDIyZ7HrTAfEEUt9AtTDNoCYxUdSd6NrRHaYOIxtk=", "narHash": "sha256-6ovz0pG76dE0P170pmmZex1wWcQoeiomUZGggfH9XPs=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "e92039b55bcd58469325ded85d4f58dd5a4eaf58", "rev": "2c7f3c0fb7c08a0814627611d9d7d45ab6d75335",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -54,11 +54,11 @@
}, },
"nur": { "nur": {
"locked": { "locked": {
"lastModified": 1701636328, "lastModified": 1702060431,
"narHash": "sha256-tUG15xG0nx5aG1Ezw3Y3OOdVqb0NFiXDu7Dnla+T6Vs=", "narHash": "sha256-8/yGvqBUx/oR2rDhY8+iWZ1nErjpsNCe2O8PvzFaerM=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nur", "repo": "nur",
"rev": "d52153ca963cb8072332dc18c3665626fec86647", "rev": "d854884a8c7d2014ff44a27cfe9cac8dd78cc7ea",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -5,6 +5,7 @@
{ pkgs, ... }: { { pkgs, ... }: {
imports = [ imports = [
../gnome ../gnome
../virt
]; ];
#Optimise nix store #Optimise nix store
@ -79,7 +80,7 @@
users.users.twoneis = { users.users.twoneis = {
isNormalUser = true; isNormalUser = true;
description = "twoneis"; description = "twoneis";
extraGroups = [ "networkmanager" "wheel" "surface-control" ]; extraGroups = [ "networkmanager" "wheel" "surface-control" "docker" ];
}; };
# Allow unfree packages # Allow unfree packages

6
modules/virt/default.nix Normal file
View file

@ -0,0 +1,6 @@
{ pkgs, ... }: {
virtualisation.docker.enable = true;
environment.systemPackages = with pkgs; [
distrobox
];
}