This commit is contained in:
Philipp Hochkamp 2022-08-23 18:18:45 +02:00
parent 12358a6dff
commit f8716d8a92
2 changed files with 20 additions and 19 deletions

36
flake.lock generated
View file

@ -44,11 +44,11 @@
]
},
"locked": {
"lastModified": 1661154924,
"narHash": "sha256-zwkShc4VZ9feLeIrWjdm6YkZBoobzXETF5xIIgi++Ec=",
"lastModified": 1661264599,
"narHash": "sha256-TnpHCTTMrINokMH4xUNisp74UcvBAToRSUfCuAOFw/E=",
"owner": "lnl7",
"repo": "nix-darwin",
"rev": "5af1aa51f63d734284bf6728a21d2c9c31eb7492",
"rev": "2f3c9bb364a3add2a2649f720b359ee9b8012094",
"type": "github"
},
"original": {
@ -64,11 +64,11 @@
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1661195877,
"narHash": "sha256-yWCEloPk7ZsZ8YQ9qjDh0fXEjQbqIdDcVL/EwyB4j3o=",
"lastModified": 1661253750,
"narHash": "sha256-Ks9PBoR0nV5IgUwX5AX2dNAc0HEQGDU1Qpbd3RvRsEM=",
"owner": "nix-community",
"repo": "emacs-overlay",
"rev": "f274dc1c9c898f140755c5d8061b21cff1219445",
"rev": "2cd8b574051e77161ea028d37fe5f43aa733e27e",
"type": "github"
},
"original": {
@ -183,11 +183,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1661151577,
"narHash": "sha256-++S0TuJtuz9IpqP8rKktWyHZKpgdyrzDFUXVY07MTRI=",
"lastModified": 1661239106,
"narHash": "sha256-C5OCLnrv2c4CHs9DMEtYKkjJmGL7ySAZ1PqPkHBonxQ=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "54060e816971276da05970a983487a25810c38a7",
"rev": "963d27a0767422be9b8686a8493dcade6acee992",
"type": "github"
},
"original": {
@ -197,11 +197,11 @@
},
"nixpkgs-master": {
"locked": {
"lastModified": 1661201344,
"narHash": "sha256-bORTKM+cM+ryG4C6vCHirJ/XZxsddTzqgF5M0X7LrVI=",
"lastModified": 1661271521,
"narHash": "sha256-2tawoJUF0wDIdqgW76B3Xc85BiQZB/RR0usuxpQNeks=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "97d1ae99de3d753307ae55487ab3311aebbce129",
"rev": "5b90944c5c24f29281f94b297117626a9fa23ba9",
"type": "github"
},
"original": {
@ -213,11 +213,11 @@
},
"nixpkgs_2": {
"locked": {
"lastModified": 1661088761,
"narHash": "sha256-5DGKX81wIPAAiLwUmUYECpA3vop94AHHR7WmGXSsQok=",
"lastModified": 1661239211,
"narHash": "sha256-pNJzBlSNpWEiFJZnLF2oETYq8cGWx1DJPW33aMtG6n8=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "a7855f2235a1876f97473a76151fec2afa02b287",
"rev": "5e804cd8a27f835a402b22e086e36e797716ef8b",
"type": "github"
},
"original": {
@ -389,11 +389,11 @@
]
},
"locked": {
"lastModified": 1661201375,
"narHash": "sha256-a3n07lBtCYk/YW2pJ+Kem7x/2iyd1YB5Uvqj6dzCMIE=",
"lastModified": 1661271582,
"narHash": "sha256-o3wwylMcN0L8IwF6d4dYYyxB/xag1LGUDtVF/9HLMzA=",
"owner": "thexyno",
"repo": "blog",
"rev": "c5c73d669cf0ff59594a23048c43232e717173d7",
"rev": "77a53920f79aaf0867720cbb13fca21f6eedc97f",
"type": "github"
},
"original": {

View file

@ -17,6 +17,7 @@ in
plugins = plugins: with plugins; [ telegram ];
};
mobile.boot.stage-1.kernel.modular = true;
mobile.generatedFilesystems.rootfs = {
type = "ext4";
label = "NIXOS_SYSTEM";
@ -80,7 +81,7 @@ in
};
networking.firewall.allowedTCPPorts = [ 5000 5050 ];
environment.etc."sway/config".text = ''
output DSI-1 transform 90 anticlockwise # widescreen
output DSI-1 transform 270 clockwise # widescreen
exec swayidle timeout 1805 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"'
exec ${pkgs.chromium}/bin/chromium http://localhost:5000 --start-fullscreen --kiosk
'';