Compare commits

...

5 commits

Author SHA1 Message Date
jopejoe1
8ec8a6f642 remove chromium 2024-12-26 15:18:25 +01:00
jopejoe1
df08130015 add sway config 2024-12-26 15:14:28 +01:00
jopejoe1
27a730fdee remove demo user 2024-12-26 15:07:39 +01:00
jopejoe1
25e90edab8 use sda as disk 2024-12-26 15:05:02 +01:00
jopejoe1
fc430f3056 update lock 2024-12-26 15:04:22 +01:00
2 changed files with 37 additions and 26 deletions

View file

@ -48,6 +48,10 @@ in
];
};
fonts.packages = with pkgs; [
noto-fonts
];
home-manager = {
users.c3terminal = {
home = {
@ -59,9 +63,20 @@ 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;
@ -85,11 +100,6 @@ in
};
};
users.users.demo = {
isNormalUser = true;
password = "test";
};
users.users.root = {
password = "test";
shell = lib.mkForce (lib.getExe pkgs.bash);
@ -107,7 +117,7 @@ in
boot = {
loader = {
grub = {
enable = true;
#enable = true;
};
efi = {
canTouchEfiVariables = true;
@ -120,6 +130,7 @@ in
enable = true;
settings = {
PermitRootLogin = "no";
PasswordAuthentication = false;
};
};
};
@ -159,7 +170,7 @@ in
disk = {
main = {
type = "disk";
device = "/dev/disk/by-id/wwn-0x502b2a201d1c1b1a";
device = "/dev/sda";
content = {
type = "gpt";
partitions = {

View file

@ -7,11 +7,11 @@
]
},
"locked": {
"lastModified": 1733168902,
"narHash": "sha256-8dupm9GfK+BowGdQd7EHK5V61nneLfr9xR6sc5vtDi0=",
"lastModified": 1735048446,
"narHash": "sha256-Tc35Y8H+krA6rZeOIczsaGAtobSSBPqR32AfNTeHDRc=",
"owner": "nix-community",
"repo": "disko",
"rev": "785c1e02c7e465375df971949b8dcbde9ec362e5",
"rev": "3a4de9fa3a78ba7b7170dda6bd8b4cdab87c0b21",
"type": "github"
},
"original": {
@ -27,11 +27,11 @@
]
},
"locked": {
"lastModified": 1733769654,
"narHash": "sha256-aVvYDt8eitZVF6fdOrSoIzYRkQ5Gh6kfRvqkiaDRLL0=",
"lastModified": 1735053786,
"narHash": "sha256-Gm+0DcbUS338vvkwyYWms5jsWlx8z8MeQBzcnIDuIkw=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "e952e94955dcc6fa2120c1430789fc41363f5237",
"rev": "35b98d20ca8f4ca1f6a2c30b8a2c8bb305a36d84",
"type": "github"
},
"original": {
@ -42,11 +42,11 @@
},
"nixlib": {
"locked": {
"lastModified": 1733620091,
"narHash": "sha256-5WoMeCkaXqTZwwCNLRzyLxEJn8ISwjx4cNqLgqKwg9s=",
"lastModified": 1734829460,
"narHash": "sha256-dPhc+f2wkmhMqMIfq+hColJdysgVxKP9ilZ5bR0NRZI=",
"owner": "nix-community",
"repo": "nixpkgs.lib",
"rev": "f4dc9a6c02e5e14d91d158522f69f6ab4194eb5b",
"rev": "0a31e8d833173ae63e43fd9dbff1ccf09c4f778c",
"type": "github"
},
"original": {
@ -57,11 +57,11 @@
},
"nixos-facter-modules": {
"locked": {
"lastModified": 1732288619,
"narHash": "sha256-zSQ2cR+NRJfHUVfkv+O6Wi53wXfzX8KHiO8fRfnvc0M=",
"lastModified": 1734596637,
"narHash": "sha256-MRqwVAe3gsb88u4ME1UidmZFVCx+FEnoob0zkpO9DMY=",
"owner": "numtide",
"repo": "nixos-facter-modules",
"rev": "862648589993a96480c2255197a28feea712f68f",
"rev": "536472754982bf03079b4b4e0261838a760587c0",
"type": "github"
},
"original": {
@ -78,11 +78,11 @@
]
},
"locked": {
"lastModified": 1733706547,
"narHash": "sha256-BdFW7TMgES7q8I5FGX5hlz+0Xp4WyfAP3tHDwEupSWU=",
"lastModified": 1734915500,
"narHash": "sha256-A7CTIQ8SW0hfbhKlwK+vSsu4pD+Oaelw3v6goX6go+U=",
"owner": "nix-community",
"repo": "nixos-generators",
"rev": "f5a0197ccfef7388885fc9455e74d6dd39e0c5e8",
"rev": "051d1b2dda3b2e81b38d82e2b691e5c2f4d335f4",
"type": "github"
},
"original": {
@ -93,11 +93,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1733759999,
"narHash": "sha256-463SNPWmz46iLzJKRzO3Q2b0Aurff3U1n0nYItxq7jU=",
"lastModified": 1734649271,
"narHash": "sha256-4EVBRhOjMDuGtMaofAIqzJbg4Ql7Ai0PSeuVZTHjyKQ=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "a73246e2eef4c6ed172979932bc80e1404ba2d56",
"rev": "d70bd19e0a38ad4790d3913bf08fcbfc9eeca507",
"type": "github"
},
"original": {