Fixed booloader and more
This commit is contained in:
parent
6c1838ede0
commit
5190de97d6
6 changed files with 47 additions and 25 deletions
|
@ -22,7 +22,7 @@
|
|||
nix.nixPath = ["/etc/nix/path"];
|
||||
users.defaultUserShell = pkgs.bash;
|
||||
documentation.man.generateCaches = false;
|
||||
systemd.services.NetworkManager-wait-online.enable = lib.mkForce false;
|
||||
# systemd.services.NetworkManager-wait-online.enable = lib.mkForce false;
|
||||
programs.fish.enable = true;
|
||||
programs.bash = {
|
||||
interactiveShellInit = ''
|
||||
|
@ -97,21 +97,31 @@
|
|||
LC_TIME = "sv_SE.UTF-8";
|
||||
};
|
||||
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
# boot.loader.systemd-boot.enable = true;
|
||||
# boot.loader.efi.canTouchEfiVariables = true;
|
||||
boot.loader = {
|
||||
efi = {
|
||||
canTouchEfiVariables = false;
|
||||
};
|
||||
grub = {
|
||||
efiSupport = true;
|
||||
efiInstallAsRemovable = true;
|
||||
device = "nodev";
|
||||
};
|
||||
};
|
||||
console.keyMap = "sv-latin1";
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
openssh
|
||||
(
|
||||
catppuccin-sddm.override {
|
||||
flavor = "mocha";
|
||||
font = "ComicShannsMono Nerd Font Bold";
|
||||
fontSize = "17";
|
||||
background = "${../wallpapers/inverted.png}";
|
||||
loginBackground = true;
|
||||
}
|
||||
)
|
||||
# (
|
||||
# catppuccin-sddm.override {
|
||||
# flavor = "mocha";
|
||||
# font = "ComicShannsMono Nerd Font Bold";
|
||||
# fontSize = "17";
|
||||
# background = "${../wallpapers/inverted.png}";
|
||||
# loginBackground = true;
|
||||
# }
|
||||
# )
|
||||
];
|
||||
|
||||
|
||||
|
@ -132,14 +142,10 @@
|
|||
"ipsec.d/ipsec.nm-l2tp.secrets"
|
||||
];
|
||||
};
|
||||
displayManager = {
|
||||
sddm = {
|
||||
enable = true;
|
||||
theme = "catppuccin-mocha";
|
||||
package = pkgs.kdePackages.sddm;
|
||||
};
|
||||
};
|
||||
xserver = {
|
||||
displayManager = {
|
||||
startx.enable = true;
|
||||
};
|
||||
enable = true;
|
||||
xkb = {
|
||||
layout = "se";
|
||||
|
|
|
@ -79,6 +79,8 @@
|
|||
openssl
|
||||
|
||||
# Dev
|
||||
kaggle
|
||||
vscode
|
||||
unstable.cargo
|
||||
unstable.rustc
|
||||
cargo-generate
|
||||
|
|
|
@ -21,6 +21,17 @@
|
|||
dotnet-sdk_8
|
||||
];
|
||||
|
||||
# boot.loader = {
|
||||
# efi = {
|
||||
# canTouchEfiVariables = true;
|
||||
# };
|
||||
# grub = {
|
||||
# enable = true;
|
||||
# efiSupport = true;
|
||||
# useOSProber = true;
|
||||
# };
|
||||
# };
|
||||
|
||||
|
||||
services.xserver.dpi = 140;
|
||||
|
||||
|
|
|
@ -87,11 +87,11 @@
|
|||
LC_TIME = "sv_SE.UTF-8";
|
||||
};
|
||||
|
||||
boot.loader.grub = {
|
||||
enable = true;
|
||||
device = "/dev/sdc";
|
||||
useOSProber = true;
|
||||
};
|
||||
# boot.loader.grub = {
|
||||
# enable = true;
|
||||
# device = "/dev/sdc";
|
||||
# useOSProber = true;
|
||||
# };
|
||||
|
||||
console.keyMap = "sv-latin1";
|
||||
programs.zsh.enable = true;
|
||||
|
|
|
@ -49,6 +49,8 @@
|
|||
reb="sudo nixos-rebuild switch --flake $SYSTEM_DIR";
|
||||
cam="jira issue create && jira issue assign && jira issue move";
|
||||
latest="git log | head -1 | awk '{print $2;}' | xsel -ib";
|
||||
vpnup="nmcli con up 'iFacts VPN'";
|
||||
vpndown="nmcli con down 'iFacts VPN'";
|
||||
};
|
||||
interactiveShellInit = ''
|
||||
fish_vi_key_bindings
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
hostname = "login.student.lth.se";
|
||||
port = 22;
|
||||
user = "fr7658wa-s";
|
||||
identityFile = "/home/fw/.ssh/id_rsa";
|
||||
};
|
||||
"dm2" = {
|
||||
hostname = "192.168.0.190";
|
||||
|
@ -27,7 +28,7 @@
|
|||
identityFile = "/home/fw/.ssh/fw-ssh-key";
|
||||
};
|
||||
"ha1" = {
|
||||
hostname = "hosted-agent-1";
|
||||
hostname = "192.168.0.180";
|
||||
port = 22;
|
||||
user = "fw";
|
||||
identityFile = "/home/fw/.ssh/fw-ssh-key";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue