diff --git a/config.nix b/config.nix index 57df56e..5aa7d0a 100644 --- a/config.nix +++ b/config.nix @@ -48,10 +48,6 @@ in ]; }; - fonts.packages = with pkgs; [ - noto-fonts - ]; - home-manager = { users.c3terminal = { home = { @@ -63,20 +59,9 @@ in }; packages = with pkgs; [ git + chromium ]; }; - - wayland.windowManager.sway = { - enable = true; - extraConfig = '' - set $ws1 c3nav - default_border none - font pango: "Noto Sans" regular 30 - exec swaymsg "workspace $ws1;exec firefox-esr --name=c3nav --no-remote -P "terminal" https://c3nav.de; workspace $ws2; exec firefox-esr --name=fahrplan --no-remote -P "default" https://fahrplan.events.ccc.de/congress/2024/fahrplan/schedule/" - include /etc/sway/config.d/* - ''; - }; - programs = { firefox = { enable = true; @@ -100,6 +85,11 @@ in }; }; + users.users.demo = { + isNormalUser = true; + password = "test"; + }; + users.users.root = { password = "test"; shell = lib.mkForce (lib.getExe pkgs.bash); @@ -117,7 +107,7 @@ in boot = { loader = { grub = { - #enable = true; + enable = true; }; efi = { canTouchEfiVariables = true; @@ -130,7 +120,6 @@ in enable = true; settings = { PermitRootLogin = "no"; - PasswordAuthentication = false; }; }; }; @@ -170,7 +159,7 @@ in disk = { main = { type = "disk"; - device = "/dev/sda"; + device = "/dev/disk/by-id/wwn-0x502b2a201d1c1b1a"; content = { type = "gpt"; partitions = { diff --git a/flake.lock b/flake.lock index a8c5b56..2460439 100644 --- a/flake.lock +++ b/flake.lock @@ -7,11 +7,11 @@ ] }, "locked": { - "lastModified": 1735048446, - "narHash": "sha256-Tc35Y8H+krA6rZeOIczsaGAtobSSBPqR32AfNTeHDRc=", + "lastModified": 1733168902, + "narHash": "sha256-8dupm9GfK+BowGdQd7EHK5V61nneLfr9xR6sc5vtDi0=", "owner": "nix-community", "repo": "disko", - "rev": "3a4de9fa3a78ba7b7170dda6bd8b4cdab87c0b21", + "rev": "785c1e02c7e465375df971949b8dcbde9ec362e5", "type": "github" }, "original": { @@ -27,11 +27,11 @@ ] }, "locked": { - "lastModified": 1735053786, - "narHash": "sha256-Gm+0DcbUS338vvkwyYWms5jsWlx8z8MeQBzcnIDuIkw=", + "lastModified": 1733769654, + "narHash": "sha256-aVvYDt8eitZVF6fdOrSoIzYRkQ5Gh6kfRvqkiaDRLL0=", "owner": "nix-community", "repo": "home-manager", - "rev": "35b98d20ca8f4ca1f6a2c30b8a2c8bb305a36d84", + "rev": "e952e94955dcc6fa2120c1430789fc41363f5237", "type": "github" }, "original": { @@ -42,11 +42,11 @@ }, "nixlib": { "locked": { - "lastModified": 1734829460, - "narHash": "sha256-dPhc+f2wkmhMqMIfq+hColJdysgVxKP9ilZ5bR0NRZI=", + "lastModified": 1733620091, + "narHash": "sha256-5WoMeCkaXqTZwwCNLRzyLxEJn8ISwjx4cNqLgqKwg9s=", "owner": "nix-community", "repo": "nixpkgs.lib", - "rev": "0a31e8d833173ae63e43fd9dbff1ccf09c4f778c", + "rev": "f4dc9a6c02e5e14d91d158522f69f6ab4194eb5b", "type": "github" }, "original": { @@ -57,11 +57,11 @@ }, "nixos-facter-modules": { "locked": { - "lastModified": 1734596637, - "narHash": "sha256-MRqwVAe3gsb88u4ME1UidmZFVCx+FEnoob0zkpO9DMY=", + "lastModified": 1732288619, + "narHash": "sha256-zSQ2cR+NRJfHUVfkv+O6Wi53wXfzX8KHiO8fRfnvc0M=", "owner": "numtide", "repo": "nixos-facter-modules", - "rev": "536472754982bf03079b4b4e0261838a760587c0", + "rev": "862648589993a96480c2255197a28feea712f68f", "type": "github" }, "original": { @@ -78,11 +78,11 @@ ] }, "locked": { - "lastModified": 1734915500, - "narHash": "sha256-A7CTIQ8SW0hfbhKlwK+vSsu4pD+Oaelw3v6goX6go+U=", + "lastModified": 1733706547, + "narHash": "sha256-BdFW7TMgES7q8I5FGX5hlz+0Xp4WyfAP3tHDwEupSWU=", "owner": "nix-community", "repo": "nixos-generators", - "rev": "051d1b2dda3b2e81b38d82e2b691e5c2f4d335f4", + "rev": "f5a0197ccfef7388885fc9455e74d6dd39e0c5e8", "type": "github" }, "original": { @@ -93,11 +93,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1734649271, - "narHash": "sha256-4EVBRhOjMDuGtMaofAIqzJbg4Ql7Ai0PSeuVZTHjyKQ=", + "lastModified": 1733759999, + "narHash": "sha256-463SNPWmz46iLzJKRzO3Q2b0Aurff3U1n0nYItxq7jU=", "owner": "nixos", "repo": "nixpkgs", - "rev": "d70bd19e0a38ad4790d3913bf08fcbfc9eeca507", + "rev": "a73246e2eef4c6ed172979932bc80e1404ba2d56", "type": "github" }, "original": {